<VirtualHost localhost:80>
NameVirtualhost localhost
ServerAdmin root@localhost
DocumentRoot "/opt/httpd/htdocs"
</VirtualHost>
<VirtualHost sqladmin.localhost:80>
# NameVirtualhost sqladmin.localhost
ServerAdmin
[email protected]
DocumentRoot "/opt/www/sqladmin"
ServerPath "/opt/www/sqladmin"
ServerName sqladmin.localhost
# ServerAlias sqladmin.localhost
<Directory />
Options Indexes FollowSymLinks MultiViews
IndexOptions FancyIndexing
AllowOverride None
DirectoryIndex index.php
Order Deny,allow
Allow from all
</Directory>
ErrorLog logs/sqladmin.localhost-error
</VirtualHost>
#
<VirtualHost php.localhost:80>
# NameVirtualhost php.localhost
ServerAdmin
[email protected]
DocumentRoot /opt/www/php
ServerPath /opt/www/php
<Directory />
Options Indexes FollowSymLinks MultiViews
AllowOverride None
DirectoryIndex /phpinfo.php
Order Deny,allow
Allow from all
</Directory>
ServerName php.localhost
ErrorLog logs/php-error_log
CustomLog logs/php-access_log common
</VirtualHost>
Recent Comments