A. Khattri wrote:
On Fri, 6 May 2005, Eric S. Johansson wrote:


I have spent a way too much time in the past week screwing around with
Apache configurations.  The final straw was when I took a working
configuration, change the domain name and it failed without telling me
why or where.


apachectl configtest

did not detect the error I had (stupid typo). If it actually checked to make sure that the files and directories existed, then it might be useful.


Virtual hosts
virtual hosts server name aliases


You can do that quite easily in Apache.

I never thought of it. But maybe Apache would be an alternative to Apache...


directory level access control


htaccess?

very error prone, easily a security risk, often gives counterintuitive results and the error reporting in the log usually doesn't help (client denied by server configuration)


I swear, teats on a bull...

since I know you really want to be helpful, I'm trying to figure out how to hide CGI programs from the URL. I.e. instead of http://www.demo.org/mumble.cgi, I want http://www.demo.org/ to execute the same CGI program. I'm currently using the error handler to catch the 404 and run the program. It's a bloody hack but a cool one.

to further wrap your head around the brick of this problem http://demo.org/xyzzy/plugh would invoke the same CGI as http://demo.org/ but would pass /xyzzy/plugh to the CGI probably as a referrer_URL environment variable.

clear as mud? yes, I have tried index.cgi and I have not been able to make it work.


---eric

--
In every lifetime we only have a limited number of hours to spend fighting stupid programs and configuration tricks. how do you want to spend yours?
--
gentoo-user@gentoo.org mailing list




Reply via email to