Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:8181>
- CustomLog /home/steampunkcom/web/site1.com/logs/site1.com.apache.log combined
- ErrorLog /home/steampunkcom/web/site1.com/logs/site1.com.apache.error.log
- LogLevel error
- RemoteIPHeader X-Forwarded-For
- # MOD_PERL
- LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
- PerlOptions +Clone
- PerlInterpStart 2
- PerlInterpMax 2
- #PerlSwitches -Mlib=/home/steampunkcom/web/site1.com/lib
- ServerName site1.com
- ServerAlias www.site1.com
- ServerAdmin info@site1.com
- DocumentRoot /home/steampunkcom/web/site1.com/public_html
- # MOD_PERL
- #PerlRequire /home/steampunkcom/web/site1.com/startup.pl
- ScriptAlias /cgi-bin/ /home/steampunkcom/web/site1.com/public_html/cgi-bin/
- Alias /vstats/ /home/steampunkcom/web/site1.com/stats/
- Alias /error/ /home/steampunkcom/web/site1.com/document_errors/
- # Normal perl - not running under mod_perl (good for dev)
- <Directory "/home/steampunkcom/web/site1.com/*">
- Options +ExecCGI +FollowSymLinks +MultiViews
- AllowOverride AuthConfig
- Require all granted
- AddHandler cgi-script .cgi .pl
- </Directory>
- # Uncomment this part to make run as mod_perl - comment out above as well!
- # <Directory "/home/steampunkcom/web/site1.com/*">
- # Options +ExecCGI +FollowSymLinks +MultiViews
- # AllowOverride AuthConfig
- # PerlResponseHandler ModPerl::Registry
- # AddHandler perl-script .cgi .pl
- # Options +ExecCGI
- # PerlOptions +ParseHeaders
- # AllowOverride All
- # Require all granted
- # </Directory>
- <Directory "/home/steampunkcom/web/site1.com/public_html/cgi-bin/admin">
- AuthType Basic
- AuthName "Authorized Users Only"
- AuthBasicProvider file
- AuthUserFile /home/steampunkcom/web/site1.com/.htpasswd
- <RequireAny>
- Require valid-user
- Require ip 81.174.134.133
- </RequireAny>
- </Directory>
- <Directory /home/steampunkcom/web/site1.com/stats>
- AllowOverride All
- Require all granted
- </Directory>
- <IfModule mod_ruid2.c>
- RMode config
- RUidGid steampunkcom steampunkcom
- RGroups www-data
- </IfModule>
- <IfModule itk.c>
- AssignUserID steampunkcom steampunkcom
- </IfModule>
- IncludeOptional /home/steampunkcom/conf/web/apache2.site1.com.conf*
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement