[ic] virtual hosts

John Allman interchange-users@icdevgroup.org
Wed Sep 18 04:32:03 2002


Blair Campbell wrote:

>I want to set up my virtual host to open the sam catelog. I have tried as my
>root directory /var/www/cgi-bin/sam and I go to the url and I get page
>cannot be displayed but if I type in the server ip with
>/cgi-bin/sam/index.html the site comes up.
>
>any ideas
>
>
>_______________________________________________
>interchange-users mailing list
>interchange-users@icdevgroup.org
>http://www.icdevgroup.org/mailman/listinfo/interchange-users
>  
>
Both your images not there and your index page sound like web server 
configuration issues. If you're using apache, you probably want to set 
the DirectoryIndex for your site to point to the page you want.

DirectoryIndex /cgi-bin/sam (i think this syntax is right)

you'll want to undo the change you mentioned about setting your root 
directory to cgi-bin/sam first.

As for the images - check if you have something like
allow from localhost
instead of
allow from all

this is just a shot in the dark though. Both problems are almost 
definitely your web server configuration though.

John