Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess blocks all images from website
#10
More information about the webhost and htaccess:
http://helpdesk.genotec.ch/shared-hosting/htaccess.html

1) public_html/gs/
2)
Code:
AddDefaultCharset UTF-8

# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
<Files sitemap.xml>
        Order allow,deny
    Allow from all
    Satisfy All
</Files>

RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /gs/

RewriteCond %{REQUEST_URI} !.*\.(ico|gif|css|png|js|jpe?g)$ [NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

3) No.
4) The images of the theme were uploaded through FTP, the images for the single pages using the files upload of GS, then placed into the pages with the links displayed when clicking them.
Reply


Messages In This Thread
RE: .htaccess blocks all images from website - by bugmenot - 2012-12-05, 19:27:15



Users browsing this thread: 1 Guest(s)