Here is the situation :
I have a project which I want to run on localhost as http://www.coye.com/ for which I have setup a virtual host which is running perfectly like this:
F:\xampp\apache\conf\extra\httpd-vhosts.conf :
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "F:/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "F:/xampp/htdocs/coye"
ServerName coye.com
ServerAlias www.coye.com
RewriteEngine on
#Added New by Sandeep - Start
RewriteCond %{HTTP_HOST} !^www.coye\.com$ [NC]
RewriteRule ^(.*)$ http://www.coye.com$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^/images
RewriteCond %{REQUEST_URI} !^/css
RewriteCond %{REQUEST_URI} !^/js
RewriteCond %{REQUEST_URI} !^/fckeditor
RewriteCond %{REQUEST_URI} !^/securityimage
RewriteCond %{REQUEST_URI} !^/sitemap.txt
RewriteRule ^/(.*)$ /index.php?request=$1 [PT,QSA,L]
</VirtualHost>
C:\Windows\System32\drivers\etc\host
127.0.0.1 localhost
127.0.0.1 coye.com
127.0.0.1 www.coye.com
127.0.0.1 api.coye.com
127.0.0.1 merchant.coye.com
127.0.0.1 admin.coye.com
and now I want to run PHPMyadmim
but it not accessible through localhost/phpmyadmin
.
What changes I have to do to get access PHPMyadmin ? Please guide me on this.
Please help me on this.