Re: [us...@httpd] Can you go outside the .htaccess directory with Rewrite Rule?

2009-03-03 Thread Sean DeNigris
[SOLVED] Thank you everyone for the ideas! When I checked the error logs, Apache was reinserting the base of the .htaccess directory's URI. So my "/cgi-bin/script" became /~me/public_html/cgi-bin/script (/~me/ public_html/ is the .htaccess directory + /cgi-bin/script, the directory I specified).

Re: [us...@httpd] Can you go outside the .htaccess directory with Rewrite Rule?

2009-02-27 Thread Sean DeNigris
On Fri, Feb 27, 2009 at 4:27 PM, Sean DeNigris wrote: > If I put a .htaccess file in my webroot with the following rule: > RewriteRule ^(.*)$ /cgi-bin/scriptname.cgi?action=$1 > > Can I specify a script file outside the directory with the .htaccess file in > it (i.e. outs

[us...@httpd] Can you go outside the .htaccess directory with Rewrite Rule?

2009-02-27 Thread Sean DeNigris
/myname/cgi-bin/scriptname.cgi (I want to call this script via the above rule) Thank you!! Sean DeNigris s...@clipperadams.com - The official User-To-User support forum of the Apache HTTP Server Project. See http

[us...@httpd] How can I secure my DB credentials on a shared host?

2009-02-16 Thread Sean DeNigris
Hello list! I have an account on a shared host running Apache 1.3.37. I want to secure the DB credentials for my php scripts. I read an article suggesting to add an Include to httpd.conf and set the include file permissions to root-only. However, I'm on a shared host and have no access t