Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost myip:80>
- SuexecUserGroup "#502" "#502"
- ServerName phpmyadmin.mydomain.dk
- ServerAlias www.phpmyadmin.mydomain.dk
- ServerAlias webmail.phpmyadmin.mydomain.dk
- ServerAlias admin.phpmyadmin.mydomain.dk
- DocumentRoot /home/phpmyadmin/public_html
- ErrorLog /var/log/virtualmin/phpmyadmin.mydomain.dk_error_log
- CustomLog /var/log/virtualmin/phpmyadmin.mydomain.dk_access_log combined
- ScriptAlias /cgi-bin/ /home/phpmyadmin/cgi-bin/
- DirectoryIndex index.html index.htm index.php index.php4 index.php5
- <Directory /home/phpmyadmin/public_html>
- Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
- allow from all
- AllowOverride All
- AddHandler fcgid-script .php
- AddHandler fcgid-script .php5
- FCGIWrapper /home/phpmyadmin/fcgi-bin/php5.fcgi .php
- FCGIWrapper /home/phpmyadmin/fcgi-bin/php5.fcgi .php5
- </Directory>
- <Directory /home/phpmyadmin/cgi-bin>
- allow from all
- </Directory>
- RewriteEngine on
- RewriteCond %{HTTP_HOST} =webmail.phpmyadmin.mydomain.dk
- RewriteRule ^(.*) https://phpmyadmin.mydomain.dk:20000/ [R]
- RewriteCond %{HTTP_HOST} =admin.phpmyadmin.mydomain.dk
- RewriteRule ^(.*) https://phpmyadmin.mydomain.dk:8080/ [R]
- RemoveHandler .php
- RemoveHandler .php5
- IPCCommTimeout 31
- FcgidMaxRequestLen 1073741824
- </VirtualHost>
- <VirtualHost myip:80>
- SuexecUserGroup "#503" "#503"
- ServerName mydomain.dk
- ServerAlias www.mydomain.dk
- ServerAlias webmail.mydomain.dk
- ServerAlias admin.mydomain.dk
- DocumentRoot /home/mydomain/public_html
- ErrorLog /var/log/virtualmin/mydomain.dk_error_log
- CustomLog /var/log/virtualmin/mydomain.dk_access_log combined
- ScriptAlias /cgi-bin/ /home/mydomain/cgi-bin/
- ScriptAlias /awstats/ /home/mydomain/cgi-bin/
- DirectoryIndex index.html index.htm index.php index.php4 index.php5
- <Directory /home/mydomain/public_html>
- Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
- allow from all
- AllowOverride All
- AddHandler fcgid-script .php
- AddHandler fcgid-script .php5
- FCGIWrapper /home/mydomain/fcgi-bin/php5.fcgi .php
- FCGIWrapper /home/mydomain/fcgi-bin/php5.fcgi .php5
- </Directory>
- <Directory /home/mydomain/cgi-bin>
- allow from all
- </Directory>
- RewriteEngine on
- RewriteCond %{HTTP_HOST} =webmail.mydomain.dk
- RewriteRule ^(.*) https://mydomain.dk:20000/ [R]
- RewriteCond %{HTTP_HOST} =admin.mydomain.dk
- RewriteRule ^(.*) https://mydomain.dk:8080/ [R]
- RemoveHandler .php
- RemoveHandler .php5
- IPCCommTimeout 31
- FcgidMaxRequestLen 1073741824
- Alias /dav "/home/mydomain/public"
- Alias /pipermail "/var/lib/mailman/archives/public"
- <Location /dav>
- DAV on
- AuthType Basic
- AuthName "mydomain.dk"
- AuthUserFile /home/mydomain/etc/dav.digest.passwd
- Require valid-user
- ForceType text/plain
- Satisfy All
- RemoveHandler .php
- RemoveHandler .php5
- RewriteEngine off
- </Location>
- <Files awstats.pl>
- AuthName "mydomain.dk statistics"
- AuthType Basic
- AuthUserFile /home/mydomain/.awstats-htpasswd
- require valid-user
- </Files>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement