I'm moving my CakePHP app onto to a Media Temple Dedicated Virtual
server and my paths are all wrong.

There seem to be two issues, one more severe than the other:

First, the paths to webroot don't work, so the head of my document
links my stylesheet like so:

<link rel="stylesheet" type="text/css" href="/index.php/users/css/
style.css" media="screen, projection" />

Notice that first, index.php is inserted into the beginning of the
link and second that the path is completely wrong. When I access the
base url, I get the Apache 404 error. If I insert index.php in the the
url, it works fine so that https://example.com/index.php/users/login
works (but with incorrect links to style sheets and layout as noted
above), but https://example.com/users/login produces an Apache 404
error.

It seems the problem is a mod_rewrite one perhaps. The default
CakePHP .htaccess files are on the server. Any thoughts? There seem to
be a lot of forum posts that are somehow related, but don't quite fit
my scenario.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to