Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerName localhost
- NameVirtualHost *:81
- <VirtualHost *:81>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www/
- DirectoryIndex index.php
- <Directory />
- Options FollowSymLinks
- AllowOverride all
- </Directory>
- <Directory /var/www/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride all
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- LogLevel debug
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- Alias /phpmyadmin/ "/var/www/phpmyadmin/"
- <Directory "/var/www/phpmyadmin">
- Options FollowSymLinks
- DirectoryIndex index.php
- <IfModule mod_php5.c>
- AddType application/x-httpd-php .php
- php_flag magic_quotes_gpc Off
- php_flag track_vars On
- php_flag register_globals Off
- php_value include_path .
- </IfModule>
- </Directory>
- <Directory "/var/www/">
- <IfModule mod_authn_file.c>
- AuthType Basic
- AuthName "phpMyAdmin Setup"
- AuthUserFile /etc/phpmyadmin/htpasswd.setup
- </IfModule>
- Require valid-user
- </Directory>
- #<Directory "/var/www/phpmyadmin/libraries">
- # Order Deny,Allow
- # Deny from All
- #</Directory>
- # <Directory "/vaw/www/phpmyadmin/setup/lib">
- # Order Deny,Allow
- # Deny from All
- #</Directory>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement