#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    As far as I have seen so far, it would be done with a Handler of some kind and maybe an Action. What I want to do is use something like fom.cgi?214 but without the .cgi
    (Faq-O-Matic.)
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    So I could theoretically use the following command:

    ScriptAlias /fom/ /cgi-bin/fom.cgi?

    If I want to use the url http://domain.com/fom/32
    instead of http://domain.com/cgi-bin/fom.cgi?32

    Is this correct?
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>ScriptAlias /fom/ /cgi-bin/fom.cgi?Is this correct?

    No.

    ScriptAlias /cgi-bin/ /home/httpd/my-cgi/

    Then any files in your /home/httpd/my-cgi/ are treated as CGI, even without the extension.
    The first part /cgi-bin/, that is the visible part within your URL. i.e. http://www.domain.com/cgi-bin/

    So a script named "myscript" at /home/httpd/my-cgi/myscript is the same script as http://www.domain.com/cgi-bin/myscript.

IMN logo majestic logo threadwatch logo seochat tools logo