Thursday, January 28, 2010

Re: Pretty URLs don't work without .htaccess ?

On 28 ene, 23:49, Johnny Cupcake <sparklew...@hotmail.com> wrote:
> Right, I was referring to mod_rewrite and not .htaccess in
> particular.
>
> I see the links generated by HtmlHelper are wrong too.  They point to
> "/app/webroot/filename" when Apache's root is already set to "/app/
> webroot/", so they ought to therefore point to "/filename".  At this
> point I am only guessing the bug is related to not using
> mod_rewrite?!  I see nothing in the docs about reconfiguring
> HtmlHelper's base directory, and I followed the instructions in the
> core app config file to no avail.
>
> I'm going to re-enable mod_rewrite and just pray all these problems
> disappear.

Any path problems inevitably stem from having your config badly
defined.

"Are pretty URLs available without using .htaccess?" yes
"Are pretty URLs available without using mod_rewrite on apache?" no

Did you disable mod_rewrite for a reason? You can't achieve pretty
urls without mod_rewrite or equivalent, and asking how to get pretty
urls while actively preventing the possibility is a bit confusing.

AD

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: