You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Philip Wigg <ph...@philipwigg.co.uk> on 2009/11/11 12:22:06 UTC
Re: [users@httpd] rewrite not working inside alias
I think you need to look at:-
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase
Or just put the rewrite httpd.conf, you don't seem to require an .htaccess?
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite not working inside alias
Posted by Eric Covener <co...@gmail.com>.
On Wed, Nov 11, 2009 at 10:11 PM, J. Bakshi <jo...@infoservices.in> wrote:
> Philip Wigg wrote:
>> I think you need to look at:-
>>
>> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase
>>
>> Or just put the rewrite httpd.conf, you don't seem to require an .htaccess?
>>
>>
> No luck :-( I have put
>
> ````
> RewriteBase /var/personal_work_area/joydeep
It's a URL path, not a filesystem path.
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite not working inside alias
Posted by "J. Bakshi" <jo...@infoservices.in>.
Philip Wigg wrote:
> I think you need to look at:-
>
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase
>
> Or just put the rewrite httpd.conf, you don't seem to require an .htaccess?
>
>
No luck :-( I have put
````
RewriteBase /var/personal_work_area/joydeep
````
at .htaccess but no success. I have also tried to put the same in apache
configuration as
````````````````
Alias /personal/joydeep /var/personal_work_area/joydeep
DocumentRoot /var/personal_work_area/
<Directory /var/personal_work_area/joydeep/>
DirectoryIndex index.php
Options Indexes FollowSymLinks MultiViews
RewriteBase /var/personal_work_area/joydeep
AllowOverride All
Order allow,deny
allow from all
</Directory>
`````````````````````
failure :-(
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org