I thought about the variables in index.php first, but that var. in core.phpseems to be the best bet, dunno if it'll screw up the pretty urls for ya tho
On 7/9/07, Scott Sharkey <[EMAIL PROTECTED]> wrote: > > > Jonathan Langevin wrote: > > Hey Scott, just saw the other posts to this thread, sorry about how > > oblivious the other users seem to Apache :-) > > > > maybe try editing app/config/core.php: > > Well, that's certainly worth a try. I've tried modifying the > WEBROOT_DIR, without success. I may have to try every variable in the > CORE and INDEX files, but I will figure it out. I was hoping someone > else had already done so. > > I appreciate the attempts to help, but sometimes it's better to say > nothing than to guess. Especially since I thought I made it pretty > clear from my message that I had tried a fair amount of stuff, and > pretty much knew what I was doing ... oh well. > > THANKS!! > -Scott > > > > > /** > > * If you do not have mod rewrite on your system > > * or if you prefer to use CakePHP pretty urls. > > * uncomment the line below. > > * Note: If you do have mod rewrite but prefer the > > * CakePHP pretty urls, you also have to remove the > > * .htaccess files > > * release/.htaccess > > * release/app/.htaccess > > * release/app/webroot/.htaccess > > */ > > // define ('BASE_URL', env('SCRIPT_NAME')); > > > > > > > > > > On 7/7/07, * Scott Sharkey* <[EMAIL PROTECTED] > > <mailto:[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 is http://devel.mysite.com, and that top level is a > cake > > app. > > > > 3) I'm trying to create a http://devel.mysite.com/~ssharkey which 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 cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---