Maybe the "~" character is screwing up the rewriting. Why not RewriteBase /ssharkey ?
On Jul 8, 12:17 am, Scott Sharkey <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm trying a "top-level" installation into an apache UserDir. I've read > the documentation, which says to put a RewriteBase directive in the > /~user/public_html/.htaccess file. This does not seem to be working for > me. Here's what I know: > > 1) Mod_Rewrite is loaded and working fine on the server. I have a cake > install in the main server root which is working fine. > > 2) the server ishttp://devel.mysite.com, and that top level is a cake > app. > > 3) I'm trying to create ahttp://devel.mysite.com/~ssharkeywhich is a > copy of the above site (for devel/debugging). > > 4) I have unpacked a clean cake 1.1.15.5144 into > /home/ssharkey/public_html, and have Apache UserDir public_html configured. > > 5) If I put an index.php in that /home/ssharkey/public_html, everthing > works as expected. > > 6) I have added RewriteBase /~ssharkey as the 2nd line in > /home/ssharkey/public_html/.htaccess (just after RewriteEngine on). > > This appears to be serving the raw content, but the css file is not > being found, nor are any images or cake-generated links on the page. > The apache log shows requests for /css/cake.generic.css, and files > in /img. I would think these should be /~ssharkey/css/cake.generic.css, > etc. > > Any suggestions would be welcomed! > > -scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
