Hi Friends,

I am using symfony 1.0. I want to put symfony backend on live server
to edit some tables. I want to secure access to it by more means than
the current simple password protection.

I want to secure it by IP access ('Allow' directive of apache) and
digest authentication.

So, I created a backend/ folder in web/ and moved the backend.php
front controller there. Then I created an .htaccess as follows and
made necessary changes in httpd.conf -

AuthType Digest
AuthName "backend"
AuthDigestDomain /backend/
AuthDigestProvider file
AuthUserFile <path to pwd file>
Require valid-user

Order allow,deny
Allow from <my IP>

Now, this is all working fine when I access the backend as
http://example.com/backend/backend.php/listing/list for the basic PHP
files.
But the images and CSS files aren't getting loaded as they are looked
up in the backend/ subfolder, when they are actually present in web/
folder itself.

i.e. http://stage.zamanzar.com/backend/sf/sf_admin/css/main.css is
looked up instead it should look for 
http://stage.zamanzar.com/sf/sf_admin/css/main.css

How do I make this change?

Thanks in advance... :)

BTW, I voted for symfony in the sourceforge contest...Cheers!!! :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to