deansaddigh Posted November 5, 2010 Share Posted November 5, 2010 i have this code RewriteEngine On RewriteBase / RewriteCond %{REMOTE_ADDR} !^11\.111\.111\.111 RewriteCond %{REQUEST_URI} !^/maintenance\.html$ RewriteRule ^(.*)$ http://www.brewskies.co.uk/maintenance.html [R=307,L] Which redirects to a maintance page ignore the allowed ip for now, im jst testing and what to see the maintanance page. the site can be seen here http://www.brewskies.co.uk/maintenance.html why isnt the css being displayed, if i look at firefox and check the css its all there. I am veery confused any any help would be lovely. kind regards Dean Quote Link to comment https://forums.phpfreaks.com/topic/217845-htacess-maintanance-page/ Share on other sites More sharing options...
deansaddigh Posted November 5, 2010 Author Share Posted November 5, 2010 any ideas at all. ive still been tying to figure it out for awhile now Quote Link to comment https://forums.phpfreaks.com/topic/217845-htacess-maintanance-page/#findComment-1130718 Share on other sites More sharing options...
deansaddigh Posted November 5, 2010 Author Share Posted November 5, 2010 Ok so im assuming after doing alot of research that the htacess file is only allowing the maintanance page to be displayed, so do i need to modify the htacess code to show the css aswell? Quote Link to comment https://forums.phpfreaks.com/topic/217845-htacess-maintanance-page/#findComment-1130759 Share on other sites More sharing options...
deansaddigh Posted November 5, 2010 Author Share Posted November 5, 2010 Fixed it. Quote Link to comment https://forums.phpfreaks.com/topic/217845-htacess-maintanance-page/#findComment-1130764 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.