[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:network_services:setup_apache [2018/12/23 21:50 (UTC)] – [VIRTUAL HOSTS] Formatting ellendhelhowtos: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:
 <code> vi /etc/httpd/httpd.conf <code> vi /etc/httpd/httpd.conf
  
 +  LoadModule proxy_module      lib64/httpd/modules/mod_proxy.so
   LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so   LoadModule proxy_fcgi_module lib64/httpd/modules/mod_proxy_fcgi.so
   LoadModule proxy_scgi_module lib64/httpd/modules/mod_proxy_scgi.so   LoadModule proxy_scgi_module lib64/httpd/modules/mod_proxy_scgi.so
-  LoadModule cgid_module lib64/httpd/modules/mod_cgid.so+  LoadModule cgid_module       lib64/httpd/modules/mod_cgid.so
  
   <IfModule alias_module>   <IfModule alias_module>
Line 183: Line 184:
  
  
-====== VHOSTS WITH INDIVIDUAL CGI-BIN DIRECTORIES ====== +====== 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 /etc/httpd/extra/httpd-vhosts.conf - Add one of these entries for each vhost that needs unique cgi-bin directories:+If you have virtual hosts that need CGI (or need CGI in their own directoryyou can do it like this: 
 + 
 +Edit /etc/httpd/extra/httpd-vhosts.conf - Add one of these entries for each vhost that needs unique cgi-bin directories:
  
 <code>vi /etc/httpd/extra/httpd-vhosts.conf <code>vi /etc/httpd/extra/httpd-vhosts.conf
Line 195: Line 197:
   </Directory></code>   </Directory></code>
  
-2) Restart Apache+Restart Apache
 <code>/etc/rc.d/rc.httpd restart</code> <code>/etc/rc.d/rc.httpd restart</code>
  
 howtos:network_services:setup_apache ()