Home > Apache, PHP > Removing Web Folder From The Url – Symfony/apache Speciali 2

Removing Web Folder From The Url – Symfony/apache Speciali 2

October 22nd, 2011

We have an application (symfony) which can be accessed with the following link.

for ex: http://www.mysite.com/web/frontend.php

Now we would like to access the site without typing the “web” in the url.

i.e
http://www.mysite.com/frontend.php

We believe this isn’t a symfony issue but an apache issue so we simply need to set the correct web root directory in apache
Also check out aliases

So we need to set the web folder has the default web directory but without showing in the url.

Please note that our application runs on symfony 1.2


Removing Web Folder From The Url - Symfony/apache Speciali 2

Categories: Apache, PHP Tags: , , , , , ,
Comments are closed.
Bear