Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Virtualhost 0.0.0.0:8181>
- ServerName test
- DocumentRoot /srv/www/test.pro/www
- ErrorLog /srv/www/test.pro/logs/error.log
- <Directory "/srv/www/test.pro/www">
- Options MultiViews FollowSymLinks
- AllowOverride all
- Require all granted
- </Directory>
- ScriptAlias /cgi-bin /srv/www/test.pro/www/cgi-bin
- <Directory "/srv/www/test.pro/www/cgi-bin">
- AddHandler cgi-script .cgi
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Require all granted
- SetHandler cgi-script
- </Directory>
- <Location />
- LimitRequestBody 5242880
- </Location>
- </VirtualHost>
- <Virtualhost 0.0.0.0:8181>
- LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
- ServerName test
- DocumentRoot /srv/www/test.pro/www
- ErrorLog /srv/www/test.pro/logs/error.log
- #######
- # Added for the mod_perl - startup.pl runs fine when run in command line manually
- # All the modules also exist
- PerlRequire /srv/www/test.pro/startup.pl
- PerlModule Apache2::Reload
- PerlInitHandler Apache2::Reload
- PerlModule Apache2::RequestRec
- #######
- <Directory "/srv/www/test.pro/www">
- Options MultiViews FollowSymLinks
- AllowOverride all
- Require all granted
- </Directory>
- ScriptAlias /cgi-bin /srv/www/test.pro/www/cgi-bin
- <Directory "/srv/www/test.pro/www/cgi-bin">
- AddHandler perl-script .cgi
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Require all granted
- </Directory>
- <Location />
- LimitRequestBody 5242880
- </Location>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement