Page 1 of 1

Anyone Seen This Apache Problem?

Posted: Sun Jun 29, 2008 12:38 pm
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]-->

Re: Anyone Seen This Apache Problem?

Posted: Mon Jun 30, 2008 4:08 am
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!