[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
Next revisionBoth sides next revision
howtos:network_services:setup_apache [2018/12/23 21:46 (UTC)] – [ENABLE CGI-BIN] Formatting ellendhelhowtos:network_services:setup_apache [2018/12/23 21:48 (UTC)] – [ENABLE PHP] Formatting ellendhel
Line 118: Line 118:
  
  
-====== USER CGI-BIN ====== +====== User CGI-BIN ======
-This will allow users to run CGI scripts out of their /home/USER/public_html/cgi-bin directory. Their scripts can be accessed through their user directories.+
  
-EXAMPLE: +This will allow users to run CGI scripts out of their /home/user/public_html/cgi-bin directory. Their scripts can be accessed through their user directories.
- http://www.slackware.com/~pat/cgi-bin/webform.pl+
  
-1) Setup CGI-BIN as described above.+Example: <nowiki>http://www.slackware.com/~pat/cgi-bin/webform.pl</nowiki>
  
-2) Edit /etc/httpd/extra/httpd-userdir.conf - Here is what you care about, change/uncomment the following lines as necessary:+Setup CGI-BIN as described above. 
 + 
 +Edit /etc/httpd/extra/httpd-userdir.conf - Here is what you care about, change/uncomment the following lines as necessary:
 <code>vi /etc/httpd/extra/httpd-userdir.conf <code>vi /etc/httpd/extra/httpd-userdir.conf
  
Line 134: Line 134:
   </Directory></code>   </Directory></code>
  
-3) Restart Apache+Restart Apache
 <code>/etc/rc.d/rc.httpd restart</code> <code>/etc/rc.d/rc.httpd restart</code>
-====== ENABLE PHP ======+====== Enable PHP ====== 
 [[howtos:network_services:setup_apache_php_mysql|http://docs.slackware.com/howtos:network_services:setup_apache_php_mysql]] [[howtos:network_services:setup_apache_php_mysql|http://docs.slackware.com/howtos:network_services:setup_apache_php_mysql]]
  
 howtos:network_services:setup_apache ()