Saturday 08 November 2003 10:45:14 am
Hi again. Im soon going to climb the walls.... I have done all work over again. Wiped all files off design and settings directory (thank god for backups).... Set up the new site from ground up. (As i am on hosting there is some limitations).
Created new /Settings/siteaccess/[site] Created new /Settings/siteaccess/[site_admin] Created the new /design/[site]/* directories.
Inserted the new pages, and got it all to work. Except the .js files.
all the .js files and all dir's is chmod 777. The anonymous user have unrestricted access. The .htaccess file was checked tenfold times and it is the way it should be. BUT: now i have tried to do it the other way araound. and have trying to set restrictions on all files except .js files.
This i have tried to do with the .htaccess file. But nothing i do seem to have any effect. I still can access the .gif .jpeg files. Even when i have "banned" the in the .htaccess file. Have tried to set the path to the index.php file and playing araound with almost all the settings. Nothing have any effect on my site. [.htaccess file]
<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>
<FilesMatch "(index\.php|\.(js))$">
order allow,deny
allow from all
</FilesMatch>
RewriteEngine On
RewriteRule !\.(js)$ index.php DirectoryIndex index.php [/.htaccess file] Regard Tore
|