lundi 11 septembre 2017

Vritual host in windows 8 apache xampp

I am trying to config virtual host in windows 8 ,i installed Apache in port 8080 the below are my config files so far i tried,still i am getting 404 error

httpd-vhost conf

<VirtualHost *:8080>        
        ServerName design.com
        ServerAlias www.design.com
        DocumentRoot  "C:/xampp/htdocs/proj_des/public/"
        <Directory C:/xampp/htdocs/proj_des>
            AllowOverride All
            Require all granted
        </Directory>
</VirtualHost>
<VirtualHost *:8080>        
        DocumentRoot  "C:/xampp/htdocs"
        ServerName localhost

</VirtualHost>  

httpd.conf

Listen 8080

host in system32

127.0.0.1       localhost
127.0.0.1       www.design.com



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire