Hi,
In httpd, my web portal gives an HTTP 404 error when 'mysite.com/create' is
typed,
however 'mysite.com/create/' works.
In order to *solve* this issue, I added 2 different locations pointing to
the same cgi script, as:
location "/create" {
fastcgi socket "/var/www/run/slowcgi.sock"
root "/usr/local/lib/mailman/cgi-bin/create"
request strip 1
}
location "/create/*" {
fastcgi socket "/var/www/run/slowcgi.sock"
root "/usr/local/lib/mailman/cgi-bin/create"
request strip 1
}
I have lots of cgi and the httpd.conf would grow a lot,
Thus, wondering how to make both way (with ending '/' and without) to work
in a single location?
Is there any directive or regex for the 'location' directive,
so that both requests for '/create' and '/create/' would work?
Best wishes,
Mark.