-
Notifications
You must be signed in to change notification settings - Fork 2
Apache
mikemccabe edited this page Feb 16, 2011
·
3 revisions
make dir listing go away by putting content in index.html (duh!)
edit /etc/apache2/sites-available/ <VirtualHost *:80> ServerName acs-media.us.archive.org ServerAdmin info@archive.org DocumentRoot /var/www Alias /media /1/acs-media Alias /media-2 /2/acs-media-2 Options FollowSymLinks Indexes ServerSignature On
/etc/init.d/apache2 reload
a2enmod userdir
add to /etc/apache2/sites-enabled/default (or wherever?)
<Directory /home/*/public_html/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory>