I assume you're using Apache, in which case you would use the ForceType directive in http.conf (something like this): ForceType cgi-script This will cause the file 'post' to be treated as a directory as far as the user is concerned, and run the file called post. You need to look at REQUEST_URI(everything before the first ?) and possibly the QUERY_STRING (everything after the ?) environment variable and split it on '/' to parse out the parameters. I've done this with other languages but not CGI, so the type I put above may be incorrect. JD Austin IV > We are trying to run a perl program where when you type in a URL or > click a link for a specific URL, that the path includes a perl program > but it's not viewed with the .cgi or .pl or other extensions. > > I am not sure if this is the appropriate way to ask this. So, we are > doing something like this for the > URL: www.unitywave.com/testm.cgi?post/username/filename.html But we > would like it to look like > this: www.unitywave.com/testm/post/username/filename.html In trying to > run this from the server: perl testm.cgi, it works. It also works > when you move testm.cgi to testm and run the same command using just > testm. But when we go to the website, using that testm instead of the > .cgi? it shows the program rather than the output like it does on the > server. > > We want to do this so that a path is shown to the customer, rather than > the extensions and characters. However, I am at a draw as to whether > this is httpd.conf that controls this or if it's the program that is > running, i.e. perl or cgi. > > I would appreciate having responses sent to hotwater@minhthao.com. > That's my programmer Minh. I will be in and out and may not be > watching the list. > > Thanks. > > Kimi Adams > Unity Wave > 602-375-5363 > > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't > post to the list quickly and you use Netscape to write mail. > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss