I'm tying to configure Apache for running phpmyadmin in it's own folder, using phpmyadmin.local server name. I'm not an Apache "guru" and i can't figure out why this is not working. Any help would be much appreciated. The error is: it's redirecting me on my ISP search page (like DNS not working).
hosts file:
127.0.0.1 localhost
127.0.0.1 phpmyadmin.local
httpd-vhosts.conf file:
ServerName localhost
DocumentRoot "C:/Users/Marco/Documents/www"
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
ServerName phpmyadmin.local
DocumentRoot "C:/Users/Marco/Documents/www/phpMyAdmin-3.4.5-english"
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
Answer
Before the virtualhost definitions put this line:
NameVirtualHosts *:80
When trying to access the URL from the browser be sure to type http:// before the url.
No comments:
Post a Comment