Hi

1. The log line you get shows clearly that it's an Apache issue. The
message obviously says that you must enable FollowSymLinks in your
httpd.conf so that "mod_rewrite" works (see here :
https://trac.cakephp.org/ticket/1700)... you must put "Options
FollowSymLinks" in your httpd.conf (there may be already an "Options"
line, in your Directory section - the one that refers to you www root,
to which you can add "FollowSymLinks"). See more Apache specific
documentation for this issue
(http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html)

2. I don't know what Uniform Server is, but from your directory
structure, it doesn't seem like you actually use "user directories";
you just use a "regular" subdirectory of your document root (www).
"user directories" is an Apache module that basically redirects
"http://your_server/~your_user_name/"; to a subdirectory of your
personal home directory (in Windows, it may be C:\Documents and
Settings\your_user_name\htdocs or C:\.....\public_html). So I think
you don't need the "RewriteRule" extra line.

Try this, and it *may* work.
+++++++
Clément

On Tue, Aug 19, 2008 at 9:57 PM, www.landed.at <[EMAIL PROTECTED]> wrote:
>
> I have followed all except the last line of that link which is
>
> # If you are installing CakePHP into a user directory (http://
> example.com/~username), you'll need to modify the .htaccess file in
> the base directory of your CakePHP installation. Just add the line
> "RewriteBase /~myusername/"
>
> in uniform server the structure is
>
> C:\Uniform Server\udrive\www\fb00\ [here i have app, cake,vendors etc
> and the htaccess file ]
>
> so eith that structure localhost points to the www root folder where I
> have multiple sites.
> So i added as per the instruction above and get the htaccess file in
> the application root to be
>
> <IfModule mod_rewrite.c>
>   RewriteEngine on
>   RewriteRule    ^$ app/webroot/    [L]
>   RewriteRule    (.*) app/webroot/$1 [L]
>   RewriteBase /~fb00/
> </IfModule>
>
> so is that right, I dont know what else is wrong, I have mod rewrite
> working for other things ok.
> here is my server log error
>
> [error] [client 127.0.0.1] Options FollowSymLinks or
> SymLinksIfOwnerMatch is off which implies that RewriteRule directive
> is forbidden: W:/www/fb00/, referer: http://localhost/
>
> thanks for any help this is my second night of frustration with
> nothing working.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to