View Full Version : reserved word - enquire ?
phppete
12-08-2008, 11:23 AM
Is 'enquire' a reserved word in Apache or PHP?
Thanks
phppete
12-08-2008, 11:32 AM
Please ignore, the file in question had the wrong permissions which caused the problem with PHP5 as CGI.
Terra
12-08-2008, 11:33 AM
Can you be more specific in how you are using it and what error brought this to the forefront?
I'm not sure how 'enquire' would be a reserved word in Apache...
Terra
12-08-2008, 11:33 AM
LOL - never mind - disregard query...
phppete
12-08-2008, 11:45 AM
I was getting a server 500 error when viewing enquire.php in my .htaccess I have
<FilesMatch "^(usedcars|detail|phpinfo|enquire).php$">
SetEnv PHPRC /home/****/public_html/cgi-bin/
AddHandler application/x-httpd-php5 .php
AuthType Basic
AuthName "Admin"
AuthUserFile "/home/****/.htpasswds/public_html/admin/passwd"
require valid-user
</FilesMatch>
This isn't on your servers, it is a CPanel (aka HellPanel) server and I have had to find a way of specifying a different php.ini per account, this is CPanels wonderful way of allowing PHP4/5 by giving a CGI PHP5 and no .htaccess directives for PHP :( ini_set() is no help when you use auto_prepend_file :wah:
Anyway before checking permissions on enquire.php I was assuming the <FilesMatch .. was the problem... now if all my clients hosted here life would be so much easier!
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.