Jump to content

[SOLVED] VirtualHost - please help


Recommended Posts

Hi, I've XAMPP installed and I added aliases to my httpd-vhosts.conf (which is enabled to use in my httpd.conf) like this >

NameVirtualHost *:80

ServerName localhost
DocumentRoot "c:/xampp/htdocs/prestashop"


In my hosts in windows I have this>
127.0.0.1 localhost

..... so everything seems to be ok, but,
when I type to my browser http://localhost,'>http://localhost, the main page will show, but nothing more when I want to e.g. see my product or another link from mainpage, this error wil show

"Not Found
The requested URL /prestashop/111-vga-pci-e-s-nvidia was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Normally, without aliases it works with this url> http://localhost/prestashop'>http://localhost/prestashop ,
but i want to use only http://localhost (because in the feature there will be a domain name instead of "localhost")

Any ideas ?
Thanks a lot.

Link to comment
Share on other sites

×
×
  • Create New...