This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » Installation and setup » [ VERY URGENT ] access configuration files by URL
[ VERY URGENT ] access configuration files by URL [message #76861] Wed, 15 April 2009 13:46 Go to next message
fabiojr  is currently offline fabiojr
Messages: 5
Registered: June 2008
Location: Brazil
Junior Member
Hi guys, we're having a big problem at work.

We can access configuration files like "propel.ini" and "databases.yml" just using: "www.myserver.com/projectname/config/propel.ini"

We are using symfony 0.6.3

Please, any idea how to fix this? It's very urgent, because we have a BIG client that is using a system that was developed with symfony.

Thanks all.
Re: [ VERY URGENT ] access configuration files by URL [message #76867 is a reply to message #76861 ] Wed, 15 April 2009 15:38 Go to previous messageGo to next message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Short term, use mod_rewrite directives to deny direct access to /projectname/*, presuming that your front controllers are not in a subfolder of the same name.


Remember Palestine
Re: [ VERY URGENT ] access configuration files by URL [message #76868 is a reply to message #76861 ] Wed, 15 April 2009 15:39 Go to previous message
halfer  is currently offline halfer
Messages: 9535
Registered: January 2006
Location: West Midlands, UK
Faithful Member
Use this as a reference:

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html

(Obviously look up the correct one depending on your Apache version.)


Remember Palestine
Previous Topic:Symfony without PEAR and Propel
Next Topic:Doctrine and Propel working with multiple schemas and views on PostgreSQL
Goto Forum:
  

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