[Setup] Virtual hosting setup

Holden Hao holdenhao at gmail.com
Thu May 7 09:08:57 UTC 2009


On Thu, May 7, 2009 at 5:03 PM, danielcodrea <daniel.codrea at yahoo.com>wrote:

>
>
>
> Holden Hao wrote:
> >
> > On Thu, May 7, 2009 at 4:44 PM, danielcodrea
> > <daniel.codrea at yahoo.com>wrote:
> >
> >> I created the folders for the log files, so now apache can write the
> >> logs.
> >> I moved the virtual host settings to /etc/apache2/sites-enabled/ folder
> >> now when i go to http://support.coena.com it gives an error:
> >> Forbidden
> >> you don't have permission to access/ on this server
> >
> >
> > Make sure that:
> >
> > RewriteRule ^/(.*) \  http://....................... [L,P]
> >
> > is in one line. I am just guessing that this could be the problem since
> it
> > seemed its on a second line in the config I gave you.  Perhaps, Gmail
> > wrapped the line.
> >
> >
> > Holden
> >
> > _______________________________________________
> > Setup mailing list
> > Setup at lists.plone.org
> > http://lists.plone.org/mailman/listinfo/setup
> >
> >
>
> It's in one line,
> and apache is not giving any error when restarting,
> but it still gives the forbidden page when i enter
> http://support.coena.com
> in a browser and the page loads when i enter
> http://support.coena.com:8080/coenasupport in the browser.
>
>  is there any chance that the rewrite rule is not taken into consideration?
>

Yes. If the Rewrite module is not installed or loaded by default.  Check if

/etc/apache2/mods-available/rewrite.load

is there or something similar.


Holden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/setup/attachments/20090507/2c7c965b/attachment.htm


More information about the Setup mailing list