tirenweb
tirenweb

Reputation: 31749

Symfony 1.3: the .css and images are not loaded in production

I have deployed my symfony app into a shared server. The problem: for example, the images and the .css of the default page that says

ok
Symfony Project Created
Congratulations! You have successfully created your symfony project.

Project setup successful
...

are not loaded.

I read this but it's not enough for me..

What should I do?

Regards

Javi

Upvotes: 0

Views: 737

Answers (1)

Jeremy Kauffman
Jeremy Kauffman

Reputation: 10413

You may need to symlink from your web directory to the symfony data directory. In a standard Symfony install, with Symfony inside of your lib/vendor directory, it would look like this:

ln -s ../lib/vendor/symfony/data/web/sf/ sf

Alternatively, you can add an Alias for sf in your Apache config.

Upvotes: 1

Related Questions