Welcome Guest, Not a member yet? Register   Sign In
HTACCESS HELP!!! PLEASE ...
#1

[eluser]Gewa[/eluser]
Hi . I am finishing a guide website for austria.. Austria 4 Fun So I need to upload XML files of sitemap. There should be more than 400.000links . So there is more than 25XML files wih links. I need to allow ALL XML and XML.GZ files to be accessble from htaccess.


how to make it without writing each name in the line like it is now . Here Htaccess which I wanted to use. but it gives Server 500Error.. Maybe too big????
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|tinymce|config|forum|uploads|js|img|css|tmp|public|user_guide|robots\.txt|sitemap\.xml|sitemap\.xml.gz
|sitemap_firms1\.xml|sitemap_firms1.xml\.gz|sitemap_firms2\.xml|sitemap_firms2.xml\.gz|sitemap_firms3\.xml|sitemap_firms3.xml\.gz|sitemap_firms4\.xml|sitemap_firms4.xml\.gz|sitemap_firms5\.xml|sitemap_firms5.xml\.gz|sitemap_firms6\.xml|sitemap_firms6.xml\.gz|sitemap_firms7\.xml|sitemap_firms7.xml\.gz|sitemap_firms8\.xml|sitemap_firms8.xml\.gz|sitemap_firms9\.xml|sitemap_firms9.xml\.gz|sitemap_firms10\.xml|sitemap_firms10.xml\.gz|sitemap_firms11\.xml|sitemap_firms11.xml\.gz|sitemap_firms12\.xml|sitemap_firms12.xml\.gz|sitemap_firms13\.xml|sitemap_firms13.xml\.gz|sitemap_firms14\.xml|sitemap_firms14.xml\.gz|sitemap_firms15\.xml|sitemap_firms15.xml\.gz|sitemap_firms16\.xml|sitemap_firms16.xml\.gz|sitemap_firms17\.xml|sitemap_firms17.xml\.gz
|sitemap_firms18\.xml|sitemap_firms18.xml\.gz|sitemap_firms19\.xml|sitemap_firms19.xml\.gz|sitemap_firms20\.xml|sitemap_firms20.xml\.gz|sitemap_firms21\.xml|sitemap_firms21.xml\.gz)
RewriteRule ^(.*)$ /index.php/$1 [L]


Messages In This Thread
HTACCESS HELP!!! PLEASE ... - by El Forum - 01-30-2009, 02:18 PM
HTACCESS HELP!!! PLEASE ... - by El Forum - 01-30-2009, 05:21 PM
HTACCESS HELP!!! PLEASE ... - by El Forum - 01-30-2009, 06:01 PM
HTACCESS HELP!!! PLEASE ... - by El Forum - 01-31-2009, 04:28 AM
HTACCESS HELP!!! PLEASE ... - by El Forum - 02-01-2009, 04:53 AM
HTACCESS HELP!!! PLEASE ... - by El Forum - 02-01-2009, 03:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB