You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Debbie McMann <de...@hotmail.com> on 2002/11/16 03:50:07 UTC
[users@httpd] Help Please
Can some please HELP..!!
Im not an expert in this area.. But I can run this
http://localhost/sample.cgi
But I want the user to be taken to this page automatically.. What do I need
to add to index.html ?
I believe I have turned on all the appropriate config in httpd.conf.. Could
someone please help me out ..
Im running Solaris 2.9 on sparc with apache (latest version 1.3.27)..
I have tried #include virtual, and #exec cgi, and #exec cmd
Some feed back on this would be greatly appreciated.. Or even a fix..
I have tried many newsgroups and post and cant find a real answer..
Luv deb
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
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
Re: [users@httpd] Help Please
Posted by Zac Stevens <zt...@cryptocracy.com>.
Hi Deb,
On Sat, Nov 16, 2002 at 01:50:07PM +1100, Debbie McMann wrote:
> Im not an expert in this area.. But I can run this
> http://localhost/sample.cgi
>
> But I want the user to be taken to this page automatically.. What do I need
> to add to index.html ?
Just to be clear, you want someone typing in "http://localhost/" to be
automatically shown "http://localhost/sample.cgi" ?
If that's the case, find the line in your httpd.conf that starts with
"DirectoryIndex" and edit it as appropriate. That particular directive
tells Apache which filenames to try loading when none is specified. For
example:
DirectoryIndex index.html index.htm sample.cgi
would first try loading index.html, then index.htm, and finally sample.cgi
HTH,
Zac
---------------------------------------------------------------------
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