I've been given a Zend (1?) website to work on
Other websites with other PHP MVC frameworks work fine - the config on this website is different and I can't get it running
The problem seems to be that Zend is unhappy with the website running in a folder within XAMPP (not a good website)
127.0.0.1/website/ routes to the home page of the website - however, a Zend file (Rewrite.php) throws an exception because /website/ is not a recognised route
If I add a bit of code in Rewrite.php to strip /website/ from the path, the home page displays correctly
We then have another problem ....
Some links on the website point to 127.0.0.1/website/do-something
Other links point to 127.0.0.1/do-something
(The coding of the website is not consistent)
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
(at one point I did get some of these URLs working, but not all of them, and I can't remember what I did to get them working - it was probably something in htaccess, but I've changed the config so many times now I've forgotten what I did)
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
Is there a simple way of routing all requests for 127.0.0.1 into 127.0.0.1/website/ so that Zend accepts the config?
I've been advised to set a vhost in windows like 127.0.0.1 me.websitename.com - this redirects only to 127.0.0.1/xampp/ and shows the xampp control panel
I don't mind changing a conf file in XAMPP so that only this site will work - I can change back if I need to switch to another website - I just need to understand how to fix this config problem