[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 revision | ||
howtos:network_services:setup_apache [2018/12/23 21:48 (UTC)] – [ENABLE PHP] Formatting ellendhel | howtos:network_services:setup_apache [2020/11/07 17:06 (UTC)] (current) – 14.2 and beyond need proxy_module loaded to get httpd started with cgi support peter | ||
---|---|---|---|
Line 89: | Line 89: | ||
< | < | ||
+ | LoadModule proxy_module | ||
LoadModule proxy_fcgi_module lib64/ | LoadModule proxy_fcgi_module lib64/ | ||
LoadModule proxy_scgi_module lib64/ | LoadModule proxy_scgi_module lib64/ | ||
- | LoadModule cgid_module lib64/ | + | LoadModule cgid_module |
< | < | ||
Line 140: | Line 141: | ||
[[howtos: | [[howtos: | ||
- | ====== | + | ====== |
- | 1) Edit / | + | |
+ | Edit / | ||
< | < | ||
Line 147: | Line 149: | ||
Include / | Include / | ||
- | 2) Edit / | + | Edit / |
< | < | ||
Line 169: | Line 171: | ||
</ | </ | ||
- | 3) Restart Apache | + | Restart Apache |
< | < | ||
- | **NOTE:** I run my vhosts as users so, the document roots are under /home/USER directories. | + | **NOTE:** I run my vhosts as users so, the document roots are under /home/user directories. |
- | EXAMPLE: \\ | + | Example: |
- | / | + | |
- | / | + | |
- | | + | |
- | **NOTE2:** These do not affect your default webserver setting in /etc/httpd/httpd.conf. That web server instance will still work and be the default if a plain IP in used as the URL. | + | /srv/www/htdocs/ |
+ | / | ||
+ | **NOTE 2:** These do not affect your default webserver setting in / | ||
- | ====== VHOSTS WITH INDIVIDUAL CGI-BIN DIRECTORIES ====== | ||
- | If you have virtual hosts that need cgi (or need cgi in their own directory) you can do it like this: | ||
- | 1) Edit / | + | ====== Vhosts with individual CGI-BIN directories ====== |
+ | |||
+ | If you have virtual hosts that need CGI (or need CGI in their own directory) you can do it like this: | ||
+ | |||
+ | Edit / | ||
< | < | ||
Line 194: | Line 197: | ||
</ | </ | ||
- | 2) Restart Apache | + | Restart Apache |
< | < | ||