TODAY: Fix .htacess mod-rewrite issue

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Other - Software Development Posted 2 years ago

Fixed Price

Delivery by May 11, 2013




I have a Symfony2 folder running in the "platform" sub-directory of the main web root. The main front controllers (app.php and app_dev.php) reside in "platform/web" folder. This would be /var/www/platform/web.

The domain name is mapped to the web root and I'm trying to use mod_rewrite to internally rewrite certain requests which contain "profile" in the url to Symfony. So should call Symfony.

The reason why Symfony is not in the root as there are other parts of the site which dont run via symfony, and using a subdomain is not an option.

The issues are:

1) unless app.php or app_dev.php are explicitly called in the URL, the rewritten url does not seem to resolve.

2) even if it is included in the url, the url is being truncated by 5 characters by the time it hits Symfony. For example should work but would only works if infact you inject an extra 5 characters, for example:

The server is LAMP running Ubuntu. You will need to have ssh to be able to access it.

Skills: apache

About the Client

(5.00) 1 review

United Kingdom
London 12:26 PM

2 Jobs Posted
50% Hire Rate, 1 Open Job

$121 Total Spent
1 Hire, 0 Active

Member Since Nov 15, 2011