|
|
#1 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jul 2004
Lives in Levittown, NY
Hosted on sh142
58 posts
Gave thanks: 0
Thanked 0 times
|
Rule 4.
4. No php_value entries should be given in the .htaccess file. All such entries can be given on a php.ini file instead
This means what? I can't use .htacess files as I should be able to... Oh come on guys. Alot of my scripts depend on .htacess files. This is going to kill all of my programming. |
|
|
|
|
|
#2 (permalink) |
|
Skittles
Super #1
Joined in Aug 2004
Lives in Space ship
Hosted on dedi
6,480 posts
Gave thanks: 91
Thanked 176 times
|
You can use rewrites and such.. and error pages, redirects, etc, everything that would normally go in a .htaccess... The only difference, is that anything that would modify php settings (safe mode, max upload, etc), instead of being placed in the .htaccess, you would place in a php.ini file. You can still modify everything the same.
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jul 2004
Lives in Levittown, NY
Hosted on sh142
58 posts
Gave thanks: 0
Thanked 0 times
|
So, this is my .htaccess file. What would I have to do to get it to run with out the 500 error. Keep in mind, I'm using a feature called URL Look back from apache.
Code:
<Files WCS> ForceType application/x-httpd-php </Files> |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Seasoned Poster
Joined in Jul 2004
Lives in Levittown, NY
Hosted on sh142
58 posts
Gave thanks: 0
Thanked 0 times
|
Answered my own question. Here's my .htaccess file now.
Code:
# for suexec.. <Files WCS> SetHandler application/x-httpd-php </Files> Last edited by Dygear; May 23rd, 2006 at 8:06 PM. |
|
|
|
|
|
#5 (permalink) | |
|
Skittles
Super #1
Joined in Aug 2004
Lives in Space ship
Hosted on dedi
6,480 posts
Gave thanks: 91
Thanked 176 times
|
I did some searching, and it looks like you just change that middle line to this:
SetHandler application/x-httpd-php Quote:
__________________
Mountain Dew Knight
People should not be afraid of their governments. Governments should be afraid of their people. |
|
|
|
|