httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marian Marinov <hack...@hydra.azilian.net>
Subject Re: [users@httpd] want index.cgi as directory default
Date Sun, 19 Jun 2005 17:53:55 GMT
You can simply use:
DirectoryIndex index.cgi index.html 
in your Vhost configuration.

На 19.6.2005 20:10 Marty Landman написа:
> Hi,
>
> I've got a virtual host set up and would like it to run
>
> http://yoyomaplayscello/EyesBehindTheBar/Spotter/index.cgi
>
> when requesting
>
> http://yoyomaplayscello/EyesBehindTheBar/Spotter/
>
> I am able to run index.html by default from the directory, but after rem'g
> index.html and verifying that index.cgi runs when pointing the browser at
> it explicitly, it won't run from the directory. The error log says
>
> [Sun Jun 19 11:53:52 2005] [error] [client 192.168.0.1] Directory index
> forbidden by rule: /mnt/web/guide/howami/www/EyesBehindTheBar/Spotter/
>
>
> Here's my VirtualHost directive:
>
>
> <VirtualHost *>
>          ServerName      yoyomaplayscello
>          User            dad
>          Group           dad
>          DocumentRoot    /mnt/web/guide/howami/www
>          <Directory "/mnt/web/guide/howami/www">
>                  Options Indexes FollowSymLinks
>                  Options +Includes +ExecCGI
>                  AllowOverride All
>                  Options None
>                  Order allow,deny
>                  Allow from all
>          </Directory>
>          ScriptAlias     /cgibin/ "/mnt/web/guide/howami/cgibin/"
>          ScriptAlias     /cgi-bin/ "/mnt/web/guide/howami/cgibin/"
>          <Directory "/mnt/web/guide/howami/cgibin">
>                  AllowOverride All
>                  Options Indexes FollowSymLinks
>                  Order allow,deny
>                  Allow from all
>          </Directory>
> </VirtualHost>
>
> ___
>
> Thanks in advance.
>
> Marty
>
>
> Marty Landman, Face 2 Interface Inc. 845-679-9387
> Search & Sort Easily: http://face2interface.com/Products/FormATable.shtml
> Web Installed Formmail: http://face2interface.com/formINSTal
>
>
> ---------------------------------------------------------------------
> 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

-- 
------------------------------
  One Planet, One Internet.
  We Are All Connected.
------------------------------

---------------------------------------------------------------------
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


Mime
View raw message