I'm using Zend Framework but I have a little problem: How could I redirect internal all requests from
localhost/zendframework/
to
localhost/zendframework/www/
What have to put into my .htaccess in the folder localhost/zendframework/?
|
I'm using Zend Framework but I have a little problem: How could I redirect internal all requests from
to
What have to put into my .htaccess in the folder |
|||
|
|
|
You can use the "Alias" Directive in your apache config file.
|
|||
|
|
|
It sounds like you want to setup a virtual host. If that's the case, then look into apache documentation according to the version you are using. There's been a slight change in how it's taken care in apache 2.2 and 2.4. |
|||
|
|
|
You should be able to add this in your .htaccess in the /zendframework directory.
|
|||
|
|
You did not say which kind of web server you are using. Assuming it is a recent Apache httpd, your might take a look at the documentation, especially this useful example in the rewriting guide - might be exactly what you are looking for. |
|||
|
|