Davide Bianchi wrote:
> Eric <notValid.RemoveThis@comcast.net> wrote:
>> a guide to edit the new apache 2.0 files of the smae name
>> (whats that httpd2.conf?, how many config files do they need anyway???)
>
> Just one. If you want to separate the stuff in different config files
> to keep them specific is your choice.
>
>> i have ssIncludes in my main page <!--#exec cgi="cgi-bin/counter.cgi" -->
>> but it is just ignored.
>
> I think that your Apache have ssi turned off.
There! you are right, i missed the Options +Includes
Now cgi is working
>
>> i have 3 virtualhosts "namevirtualhost" and any access to those gives
>> me Forbidden you dont have permission to access / on this server
>
> It sound like a problem in permissions and/or which 'index' file he is
> trying to access.
>
>> DocumentRoot /var/vhosts/www1/html
>
> You should have a <Directory /var/vhosts...> block here, detailing
> the options.
>
> Davide
>
There are none, the vhost is just a small redirect page
one file: /var/vhosts/www1/html/index.html that just has a clickable
link to take you to the main site.
So my vhosts.conf looks like this:
NameVirtualHost 192.168.1.5
<VirtualHost 192.168.1.5>
ServerName Redirector.homeip.net
DirectoryIndex index.html
DocumentRoot /var/vhosts/www1/html
CustomLog logs/access1_log combined env=!dontlog
ErrorLog logs/error1_log
</VirtualHost>
Why cant i get permission to load the index.html file?
Also, under 1.3.27 i could serve html pages that were located in cgi-bin
Can you not do that under 2.0?
If not i can move them but I dont want to unless it is no longer supported
Thanks
Eric<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: apache 2.0 - cant get vhosts to work