List Info

Thread: Advanced Routing question/ 疑问




Advanced Routing question/ 疑问
user name
2006-07-29 09:44:04
我配了/seting

CAKE_ADMIN = 'edit'

http://192
.168.0.1/index.php/edit/accounts
这个行/this is  OK
http://192.168.0.1/e
dit/accounts
这个行不行/no ok

不知怎么能去掉"index.php"?/how to move
of "index.php"in URL
望给我回信帮助!/help?
thanks!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Re: Advanced Routing question/
user name
2006-07-29 10:48:20
I believe this would mean that either one or more of your .htaccess files are missing or mod_rewrite is not working.

There are 3 .htaccess files
  • /.htacess
  • /app/.htaccess
  • /app/webroot/.htaccess
Check to make sure they are all present and are readable by the webserver.

If all are present and readable check to make sure mod_rewrite is enabled and configured properly.

You can get your settings for PHP with the phpinfo() function.

On 7/29/06, JitZhang <hotmail.com">JitZhanghotmail.com> wrote:

/seting

CAKE_ADMIN = 'edit'

http://192.168.0.1/index.php/edit/accounts
/this is &nbsp;OK
http://192.168.0.1/edit/accounts
в/no ok

֪ôȥ&quot;index.php"/how to move of "index.php"in URL
Ű!/help?
thanks!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Re: Advanced Routing question/ 疑问
user name
2006-07-29 12:34:12

- /app/webroot/phpinfo.php
http://192.168.0.1/php
info.php
is OK

-httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so
is work

still cann't move of "index.php"in URL
how let "http://192.168.0.1/e
dit/accounts " is OK?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Re: Advanced Routing question/ 疑问
user name
2006-07-30 12:41:52
Having mod_rewrite loaded isn't the only thing necessary to
permit you
to use pretty urls.

You probably need to set AllowOverride All in your http.conf
file.

HTH,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Cake PHP" group.
To post to this group, send email to cake-phpgooglegroups.com
To unsubscribe from this group, send email to
cake-php-unsubscribegooglegroups.com
For more options, visit this group at http://groups
.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )