![]() |
|
404 error on virtual host - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: 404 error on virtual host (/thread-8645.html) |
404 error on virtual host - NaturalEnquirer - 2011-07-14 I am using Apache XAMPP to run zenphoto on test server. When gallery is installed in C:\xampp\htdocs\galleries, it handles mod rewrite fine. If I set up virtual host at \mysites\nif\galleries and run it from http://nif.local/galleries, I can see index page. With mod rewrite off, I can navigate to other albums, images, etc. With mod rewrite on, I see http://nif.local/galleries/flora/ in the address bar which should be correct, but I get a 404 error. .htaccess has rewrite base as \gallereis which seems right to me. Could someone guide me to what I should try to change to make mod rewrite work? I know very little about apache and rewrite ... EDIT: Wouldn't you know it... after looking for info on this for about a day, almost immediately after posting this, I found solution for me. In the httpd.conf file, I had to change reference to and now links seem to work. If there is not the best way to deal with this, please let me know. Thanks. 404 error on virtual host - acrylian - 2011-07-15 Well, if you installed within |