Welcome Guest, Not a member yet? Register   Sign In
Pros and Cons of Putting Static HTML into /public_html
#3

[eluser]Dr. Seuss[/eluser]
I have a similar problem: I have placed my static html in a peer directory, like so:

|
+ system
+ static
+ user_guide
.htaccess
index.php

...and have placed this in my .htaccess file:

RewriteEngine On

RewriteRule ^([a-z]+)\.html$ /static/$1.html
RewriteRule ^([a-z0-9])\.gif$ /static/images/$1.gif

My problem seems to be that I cannot get my images to display within the pages. Any ideas as to what I am doing wrong?


Messages In This Thread
Pros and Cons of Putting Static HTML into /public_html - by El Forum - 06-11-2009, 06:59 PM
Pros and Cons of Putting Static HTML into /public_html - by El Forum - 06-11-2009, 07:29 PM
Pros and Cons of Putting Static HTML into /public_html - by El Forum - 08-12-2009, 12:53 PM
Pros and Cons of Putting Static HTML into /public_html - by El Forum - 08-12-2009, 01:49 PM
Pros and Cons of Putting Static HTML into /public_html - by El Forum - 08-12-2009, 06:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB