symfony
symfony forum
Home » legacy support » symfony 1.0 » [RE-OPENED] sandbox, only the _dev frontend works
[RE-OPENED] sandbox, only the _dev frontend works [message #20685] Wed, 31 January 2007 21:33 Go to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
Hi,

My sandbox works fine only if the _dev version is accessed:

I.e., visiting
http://localhost/sf_sandbox/web/frontend_dev.php/post/list
works fine, whereas
http://localhost/sf_sandbox/web/post/list
is not, which yield the folloiwng error:

Not Found
The requested URL /sf_sandbox/web/post/list was not found on this server.
Apache/2.2.2 (Fedora) Server at localhost Port 80

I can make it works by inserting a "index.php", eg,
http://localhost/sf_sandbox/web/index.php/post/list

but as soon as I click on the 1st post, same thing happens again:

http://localhost/sf_sandbox/web/post/show/id/1
Not Found
The requested URL /sf_sandbox/web/post/show/id/1 was not found on this server.
Apache/2.2.2 (Fedora) Server at localhost Port 80

I'm using 1.0.0-rc1, the previous beta4 has the same problem as well.

please help.

thanks


[Updated on: Fri, 02 February 2007 20:17]


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
[SOLVED] sandbox, only the _dev frontend works [message #20687 is a reply to message #20685 ] Wed, 31 January 2007 21:42 Go to previous messageGo to next message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
sfxpt wrote on Wed, 31 January 2007 15:33

My sandbox works fine only if the _dev version is accessed


set no_script_name to off in apps/frontend/config/settings.yml:

prod:
  .settings:
    no_script_name:           off


Then,

php symfony clear-cache

[Updated on: Wed, 31 January 2007 21:42]


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Re: [RE-OPENED] sandbox, only the _dev frontend works [message #20854 is a reply to message #20685 ] Fri, 02 February 2007 20:20 Go to previous message
sfxpt  is currently offline sfxpt
Messages: 339
Registered: January 2007
Location: Canada
Faithful Member
Another option would be add/enable mod_rewrite in apache.

Could anyone tell me how, or direct me to a place that explains it?

thx


http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
Previous Topic:RC1 : No answer from the command line in my project directory
Next Topic:generator.yml bug for many to many Relationships?
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software