in reply to Re: Hide the url.
in thread Hide the url.

In my machine.

But and if i don't have access to it? This isn't real perl... sorry.

I'm don't put this questions again.

Thanks.

Replies are listed 'Best First'.
Re^3: Hide the url.
by ikegami (Patriarch) on Aug 28, 2004 at 06:24 UTC

    Many hosts allow you to but .cgi files in any directory as long as they have the .cgi extention. Those hosts usually have index.cgi in the list of files for which to look if a directory name is provided as the URL.

    In other words, if you place c.cgi in the directory you named, rename c.cgi to index.cgi, and make sure you there are no index.html, index.htm, etc, in the same directory, it might work without messing with the server's config files or with .htaccess.

    The url would then be
    http://localhost/~user/?menu=1
    or
    http://localhost/~user/book/?menu=1
    unless 1 is the default value for menu.