Help - Search - Members - Calendar
Full Version: .htaccess decided to stop working
HTMLHelp Forums > Web Authoring > General Web Design
DeaPeaJay
I have an odd problem. I'm using my .htaccess file to tell specific pages that have no extension to be read as PHP. But recently it just stopped working. The exact same site directory and htaccess file uploaded to another server works just fine. So something must have changed on the server where it's *not* working - but I can't think of what.

Here's my htaccess file
CODE

php_value arg_separator.output &
php_flag session.use_trans_sid off

DirectoryIndex home/

ErrorDocument 404 /404.html

<FilesMatch "^contact$">
    ForceType application/x-httpd-php
</FilesMatch>

<FilesMatch "^home$">
    ForceType application/x-httpd-php
</FilesMatch>

<FilesMatch "^about$">
    ForceType application/x-httpd-php
</FilesMatch>

<FilesMatch "^work$">
    ForceType application/x-httpd-php
</FilesMatch>


Basically what happens is that I get a 404 page for all the pages (contact, home, about, work)
Darin McGrew
Did someone change the main server configuration files?
DeaPeaJay
QUOTE(Darin McGrew @ May 12 2009, 01:24 PM) *

Did someone change the main server configuration files?


What are those? Or where are those? unsure.gif

The server is on dreamhost, Maybe I should contact them =/
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.