[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:setup_apache [2018/12/23 21:40 (UTC)] – [Setup Apache httpd server] Formatting ellendhel | howtos:network_services:setup_apache [2018/12/23 21:46 (UTC)] – [ENABLE CGI-BIN] Formatting ellendhel | ||
---|---|---|---|
Line 7: | Line 7: | ||
* Apache 2 (and possibly previous versions) | * Apache 2 (and possibly previous versions) | ||
- | ====== | + | ====== |
- | 1) Edit / | + | |
+ | Edit / | ||
< | < | ||
- | ServerAdmin you@myawesomeserver.com | + | |
+ | | ||
ServerName www.myawesomeserver.com: | ServerName www.myawesomeserver.com: | ||
| | ||
Line 34: | Line 37: | ||
CustomLog "/ | CustomLog "/ | ||
| | ||
- | | + | |
- | Include / | + | Include / |
+ | # Optional | ||
+ | Include / | ||
</ | </ | ||
All other default settings should be good. | All other default settings should be good. | ||
- | 2) Make httpd start on boot. | + | Make httpd start on boot. |
< | < | ||
/ | / | ||
Line 47: | Line 53: | ||
- | ====== | + | ====== |
- | This will allow users to have individual web space (/ | + | |
- | EXAMPLE: \\ | + | |
- | | + | |
+ | This will allow users to have individual web space (/ | ||
- | 1) Edit / | + | Example: < |
+ | |||
+ | |||
+ | Edit / | ||
< | < | ||
Line 62: | Line 69: | ||
Include / | Include / | ||
- | 2) Edit / | + | Edit / |
< | < | ||
Line 71: | Line 78: | ||
</ | </ | ||
- | 3) Restart Apache | + | Restart Apache |
< | < | ||
- | ====== | + | ====== |
- | This enables CGI script execution on your webserver. | + | |
+ | This enables CGI script execution on your webserver. | ||
- | 1) Edit / | + | Edit / |
< | < | ||
Line 100: | Line 107: | ||
</ | </ | ||
- | 2) Restart Apache | + | Restart Apache |
< | < | ||
**HINT:** Your cgi-bin directory will be / | **HINT:** Your cgi-bin directory will be / | ||
- | EXAMPLE: \\ | + | Example: < |
- | http:// | + | |
| | ||
- | **NOTE: This does not apply to php scripts, see the below for them.** | + | **NOTE**: This does not apply to PHP scripts, see the below for them. |
| | ||