Re: [users@httpd] want index.cgi as directory default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

-- 
------------------------------
  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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux