CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
How do I make it appear without showing the name of the perl script?

 



wojtek
Deleted

Jun 6, 2000, 4:25 PM

Post #1 of 3 (725 views)
How do I make it appear without showing the name of the perl script? Can't Post

Ok, someone tell me how can I do this:

for example:
this is the url of the script http://www.blah.com/x.pl?view=index

I want it to look like this http://www.blah.com/?view=index


dws
Deleted

Jun 6, 2000, 9:09 PM

Post #2 of 3 (725 views)
Re: How do I make it appear without showing the name of the perl script? [In reply to] Can't Post

Web servers are configured with a set of default filenames to look for when a request specifies a directory (i.e., ends in "/"). The usual defaults include "index.html" (or "default.htm" on some Microsoft servers). Your web server may include "index.cgi" in this list. If so, rename x.pl to index.cgi.

If you're using Apache, find the DirectoryIndex directive in apache.conf for the list of defaults that Apache will look for.


Cure
User

Jun 15, 2000, 9:56 AM

Post #3 of 3 (725 views)
Re: How do I make it appear without showing the name of the perl script? [In reply to] Can't Post

hi wojtek

In your http.conf file look for this line DirectoryIndex index.html and add this line right below it
DirectoryIndex index.cgi


Cure

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives