Forum Moderators: coopster

Message Too Old, No Replies

Apache/Linux/PHP Safe Mode on for Local

Safe Mode On Local

         

vasquezmi

10:11 pm on Jul 9, 2003 (gmt 0)

10+ Year Member



Need some help here.

I was trying to install Postnuke and during the install I received errors that safe mode was on.

Spoke with the host and they stated that Safe Mode was off on the server for both UID and GID. Tried it again and I still got errors.

I looked at the PHP Configuration and it stated
------------------------------------------
SAFE_MODE Local:On Master: Off
------------------------------------------
I am assuming that the Master is the server.

1. Now how can safe mode be on for local if the Master machine has it off?
2. Does this mean that there are 2 PHP.INI files?

jatar_k

4:38 pm on Jul 10, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld vasquezmi,

I have to admit I am not really sure where to start with that. Did you ask your host any other questions? Did they have any suggestions? Is it maybe somewhere in postnuke?

I am a little confused, as I am sure you are. ;)

vasquezmi

7:40 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



I think I found the problem.

The host is using Apache with FrontPage Server extensions.

This automatically creates a .htaccess file with the FP permissions. My problem is that the I do not know how to modify this htaccess file to allow a certain directory to not fall under safe mode.

jatar_k

8:23 pm on Jul 10, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Did you try asking your host about that now that you have a better idea what the problem is? If you don't use FP extensions maybe they can just remove it on your site.

vasquezmi

9:15 pm on Jul 10, 2003 (gmt 0)

10+ Year Member



I sent them a request hopefully they can. If not I am going to have to do some research as to how I can create a new .htaccess file, drop it in the module directory and allow for that directory to upload.

jatar_k

9:34 pm on Jul 10, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If they can't help you there are a few experts around here for htaccess that I am sure would be able to help.

vasquezmi

4:01 am on Jul 11, 2003 (gmt 0)

10+ Year Member



I have found several forums talking about local safe mode setups.

Some state that it is due to a .htaccess file and others say it is due to a httpd.conf file that can also cause this.

I was able to find the .htaccess file, I commented out several permissions and it still failed.

I found an httpd folder and then a conf folder but the root has ownership of these and I do not.

I am pretty stuck since my host states that they are unsure of what to do.

Help!

jatar_k

7:40 am on Jul 11, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



how about you post a litle bit of your htaccess and i will see if I can figure out what to do with it.

vasquezmi

7:51 am on Jul 11, 2003 (gmt 0)

10+ Year Member



Here is the file, not much and I am not sure if it is causing the problem or if a httpd.conf file is doing it (have not been able to find one).
-----------------------------------------------------
# -FrontPage-

IndexIgnore .htaccess */.?* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName wwWebmasterWorldebsite.com (removed name for now)
AuthUserFile /home/virtual/site130/fst/var/www/html/_vti_pvt/service.pwd
AuthGroupFile /home/virtual/site130/fst/var/www/html/_vti_pvt/service.grp
--------------------------------------------------------