in reply to Hide the url.

You could override it in the httpd conf file.

Replies are listed 'Best First'.
Re^2: Hide the url.
by Anonymous Monk on Aug 28, 2004 at 03:47 UTC
    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.

      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.