You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chirouze Olivier <ol...@volvo.com> on 2007/02/01 14:39:12 UTC
RE: [users@httpd] suEXEC and RewriteRule
Hmm... mod_rewrite only rewrites the URL... It doens't change the
content.
I guess you use the dynamically generated listing?
So you should probably play with the directive that allows you to list
directories. I don't remember which one it is and don't use it myself.
But I guess you can play with it to change the page title.
Olivier
Olivier CHIROUZE
I&0 Infrastructure
Volvo Information Technology
> -----Original Message-----
> From: Florian Effenberger [mailto:floeff@arcor.de]
> Sent: 31 January 2007 17:06
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] suEXEC and RewriteRule
>
> Hi Olivier,
>
> > I'm not exactly sure RewriteRule accepts all sorts of regex, such as
> > "?".
> > But if so, I guess the following should do:
> >
> > RewriteRule ^/projects/design/(.?)
> http://www.mydoma.in/~michael/$1 [P]
> >
> > And below:
> >
> > RewriteRule ^/projects/design/ - [F]
> >
> > Or even:
> >
> > RewriteRule .* - [F]
> >
> > That would make a call to any script available, but trying to access
> > root directory return a "Forbidden" response...
>
> thanks for your reply. Unfortunately, in that case I still
> have "Index
> of /~michael" as title of my Directory Listings. :-( Any idea
> on how to
> avoid that?
>
> Thanks
> Florian
>
> ---------------------------------------------------------------------
> 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
>
---------------------------------------------------------------------
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] suEXEC and RewriteRule
Posted by Florian Effenberger <fl...@arcor.de>.
Hi Olivier,
> Hmm... mod_rewrite only rewrites the URL... It doens't change the
> content.
> I guess you use the dynamically generated listing?
> So you should probably play with the directive that allows you to list
> directories. I don't remember which one it is and don't use it myself.
> But I guess you can play with it to change the page title.
exactly, the dynamically generated listing by mod_autoindex. I thought
there was an easier solution to let suEXEC also execute CGI from within
aliased userdirs. :-)
Thanks
Florian
---------------------------------------------------------------------
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