18 lines
501 B
ApacheConf
18 lines
501 B
ApacheConf
# apache2.conf
|
|
<VirtualHost *:80>
|
|
ServerAdmin webmaster@localhost
|
|
DocumentRoot /usr/local/apache2/htdocs
|
|
<Directory "/usr/local/apache2/cgi-bin">
|
|
Options +ExecCGI
|
|
AddHandler cgi-script .cgi .pl
|
|
Require all granted
|
|
</Directory>
|
|
<Directory "/usr/local/apache2/htdocs">
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
Options +ExecCGI
|
|
AddHandler cgi-script .cgi .pl
|
|
</Directory>
|
|
</VirtualHost>
|