I’ve just joined Dreamhost and I’m having a bit of difficulty getting set up. The website I’ve been building works ok in XAMPP, and now I’m trying to get it to function correctly on Dreamhost.
Sorry if this is going over old ground - I’ve looked through the forum and tried things out but haven’t got the solution! It seems what I’m doing should work.
I’ve presently got the site’s structure looking like this:
mydomain/private/(non public files here)
There must be something wrong with how I’m pathing to the non-public files. I’m using the same relative paths to access the private folder, but they only work sometimes.
e.g. (from index.php)
That works! However:
That gives me a 404. I get a url that looks like this:
I’m confused - why does the relative path work for the require but not the href?