Anyone Seen This Apache Problem?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
volomike
Forum Regular
Posts: 633
Joined: Wed Jan 16, 2008 9:04 am
Location: Myrtle Beach, South Carolina, USA

Anyone Seen This Apache Problem?

Post by volomike »

I wish I could tell you the name of this site, but unfortunately by NDA, I cannot. There's a problem with it where occasionally the style sheet does not get registered, and it happens about once every 15 minutes or so if you keep refreshing the page. I'm suspecting the .htaccess file, but am not certain. Anyone see this? Not that this is hosted with that lousy hosting service -- 1and1.co.uk.

Code: Select all

Here's the .htaccess file:
 
AddType x-mapp-php5 .php
 
Options +FollowSymLinks -MultiViews
RewriteEngine on
 
RewriteRule ^fm/directory_jump.php /index.php [R]
RewriteRule ^fm/directory.php /index.php [R]
RewriteRule directory_jump.php /index.php [R]
RewriteRule ^fm/ /index.php [R]
 
rewritecond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) http://nondisclosed.co.uk/index.php [R]
 
RedirectMatch 404 http://nondisclosed.co.uk/index.php
RedirectMatch 400 http://nondisclosed.co.uk/index.php
RedirectMatch 403 http://nondisclosed.co.uk/index.php
RedirectMatch 500 http://nondisclosed.co.uk/index.php
 
ErrorDocument 404 http://nondisclosed.co.uk/index.html
ErrorDocument 400 http://nondisclosed.co.uk/index.html
ErrorDocument 403 http://nondisclosed.co.uk/index.html
ErrorDocument 500 http://nondisclosed.co.uk/index.html

And the CSS loader in the HEAD section looks like:

Code: Select all

   <style type="text/css">@import "smarty/templates/default.css";</style>    
    <!--[if lt IE 7]>

        <style type="text/css">@import "smarty/templates/ie6.css";</style>
        <script defer type="text/javascript" src="smarty/templates/pngfix.js"></script>
    <![endif]-->
    <!--[if IE 7]>
<style type="text/css">@import "smarty/templates/ie7.css";</style><![endif]-->
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Anyone Seen This Apache Problem?

Post by JAB Creations »

Temporarily delete the file altogether and see if the problem still occurs. If it doesn't slowly add stuff back and continue testing until the problem occurs. Good luck!
Post Reply