Apache Virtual Host problem
I am using the VirtualHost monster. Everything is working except when I try and go to siteroot: http://www.chrisbruce.com the index_html file is not showing up. Instead, apache is saying I don't have permission to view "/". I am not sure why this is happening, any ideas? Regards, Chris Bruce __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
From: "Chris Bruce" <chrisabruce@yahoo.com>
I am using the VirtualHost monster. Everything is working except when I try and go to siteroot: http://www.chrisbruce.com the index_html file is not showing up. Instead, apache is saying I don't have permission to view "/". I am not sure why this is happening, any ideas?
Sounds like a slightly malformed RewriteRule. Can you post it? Cheers, Evan @ digicool & 4-am
<VirtualHost 216.200.138.163> ServerAdmin me@chrisbruce.com ServerName www.chrisbruce.com DocumentRoot /home/www/www.chrisbruce.com/html ErrorLog /home/www/www.chrisbruce.com/logs/error_log ScriptAlias /cgi-bin/ /home/www/www.chrisbruce.com/cgi-bin/ Options FollowSymLinks Includes Indexes SymLinksIfOwnerMatch SSLDisable <IfModule mod_rewrite.c> RewriteEngine On RewriteLog "/home/www/www.chrisbruce.com/logs/rewrite_log" RewriteLogLevel 9 RewriteRule ^/local/ - [L] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) http://localhost:8181/VirtualHostBase/http/www.chrisbruce.com:80/chrisbruce/... [P] </IfModule> </VirtualHost> --- Evan Simpson <evan@4-am.com> wrote:
From: "Chris Bruce" <chrisabruce@yahoo.com>
I am using the VirtualHost monster. Everything is working except when I try and go to siteroot: http://www.chrisbruce.com the index_html file is not showing up. Instead, apache is saying I don't have permission to view "/". I am not sure why this is happening, any ideas?
Sounds like a slightly malformed RewriteRule. Can you post it?
Cheers,
Evan @ digicool & 4-am
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Try without this line => RewriteCond %{HTTP:Authorization} ^(.*) I dont use it for rewriting with [p] Tom => -----Original Message----- => From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris => Bruce => Sent: Thursday, 21 June 2001 3:56 PM => To: Evan Simpson; zope@zope.org => Subject: Re: [Zope] Apache Virtual Host problem => => => <VirtualHost 216.200.138.163> => ServerAdmin me@chrisbruce.com => ServerName www.chrisbruce.com => DocumentRoot /home/www/www.chrisbruce.com/html => ErrorLog /home/www/www.chrisbruce.com/logs/error_log => ScriptAlias /cgi-bin/ /home/www/www.chrisbruce.com/cgi-bin/ => Options FollowSymLinks Includes Indexes SymLinksIfOwnerMatch => SSLDisable => <IfModule mod_rewrite.c> => RewriteEngine On => RewriteLog "/home/www/www.chrisbruce.com/logs/rewrite_log" => RewriteLogLevel 9 => RewriteRule ^/local/ - [L] => RewriteCond %{HTTP:Authorization} ^(.*) => RewriteRule ^(.*) => http://localhost:8181/VirtualHostBase/http/www.chrisbruce.com:80/ chrisbruce/VirtualHostRoot/$1 => [P] => </IfModule> => </VirtualHost> => => => --- Evan Simpson <evan@4-am.com> wrote: => > From: "Chris Bruce" <chrisabruce@yahoo.com> => > > I am using the VirtualHost monster. Everything is working except => > when => > > I try and go to siteroot: http://www.chrisbruce.com the index_html => > file => > > is not showing up. Instead, apache is saying I don't have => > permission => > > to view "/". I am not sure why this is happening, any ideas? => > => > Sounds like a slightly malformed RewriteRule. Can you post it? => > => > Cheers, => > => > Evan @ digicool & 4-am => > => => => __________________________________________________ => Do You Yahoo!? => Get personalized email addresses from Yahoo! Mail => http://personal.mail.yahoo.com/ => => _______________________________________________ => Zope maillist - Zope@zope.org => http://lists.zope.org/mailman/listinfo/zope => ** No cross posts or HTML encoding! ** => (Related lists - => http://lists.zope.org/mailman/listinfo/zope-announce => http://lists.zope.org/mailman/listinfo/zope-dev ) =>
On Wed, Jun 20, 2001 at 10:55:50PM -0700, Chris Bruce wrote:
RewriteRule ^(.*) http://localhost:8181/VirtualHostBase/http/www.chrisbruce.com:80/chrisbruce/... [P]
If Tom's suggestion doesn't work, I'd try ^/(.*) instead of ^(.*) ; though I'd assume they'd evaluate the same. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
I have tried both and still not working. It is really odd. But other directories work: http://www.chrisbruce.com/test. Maybe I can create a rule to just rewrite www.chrisbruce.com/ to www.chrisbruce.com/index_html? Any other ideas? Thanks for the help, Chris Bruce --- Mike Renfro <renfro@tntech.edu> wrote:
On Wed, Jun 20, 2001 at 10:55:50PM -0700, Chris Bruce wrote:
RewriteRule ^(.*)
http://localhost:8181/VirtualHostBase/http/www.chrisbruce.com:80/chrisbruce/...
[P]
If Tom's suggestion doesn't work, I'd try ^/(.*) instead of ^(.*) ; though I'd assume they'd evaluate the same.
-- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
__________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Chris Bruce wrote:
I have tried both and still not working. It is really odd. But other directories work: http://www.chrisbruce.com/test. Maybe I can create a rule to just rewrite www.chrisbruce.com/ to www.chrisbruce.com/index_html?
What shows up in your Rewrite log, in each case? Cheers, Evan @ digicool & 4-am
participants (4)
-
Chris Bruce -
Evan Simpson -
Mike Renfro -
Tom Cameron