godaddy de deluze hostingim var.
1.site root da
2. site /klasör/ de
aynı hosting le 5 site barındırıyorum hepsinde sef var. her scriptin htaccess lerini tek dosyada topladım sorunsuz çalışıyor. ancak 1 script varki onda problem var
scriptin kendi htaccess dosyasını buraya yazıyorum. alt klasörde olan bir site için bundan nasıl bir değişiklik yapmam gerekiyor yardımcı olabilirmisiniz?
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteRule ^$ /index.php [L]
RewriteCond $1 !^(index\.php|install|img|smarty|images|scripts|fo nts|uploads|css|js|robots\.txt|sitemap\.xml|favico n\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteRule (.*)-(.*)\.html$ wallpapers/show/$2
RewriteRule (.*)-(.*)/$ categories/show/$2
RewriteRule (.*)-(.*)\/(.*)$ categories/show/$2/$3
htaccess ayarları konusunda yardıma ihtiyacım var
3
●456
- 25-10-2008, 20:50:57
Options +FollowSymLinks RewriteEngine on RewriteRule ^$ /index.php [L] RewriteCond $1 !^(index\.php|install|img|smarty|images|scripts|fo nts|uploads|css|js|robots\.txt|sitemap\.xml|favico n\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] RewriteRule (.*)-(.*)\.html$ wallpapers/show/$2 RewriteRule (.*)-(.*)/$ categories/show/$2 RewriteRule (.*)-(.*)\/(.*)$ categories/show/$2/$3
veya
Options All -Indexes RewriteEngine On RewriteRule ^$ /index.php [L] RewriteCond $1 !^(index\.php|install|img|smarty|images|scripts|fo nts|uploads|css|js|robots\.txt|sitemap\.xml|favico n\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] RewriteRule (.*)-(.*)\.html$ wallpapers/show/$2 RewriteRule (.*)-(.*)/$ categories/show/$2 RewriteRule (.*)-(.*)\/(.*)$ categories/show/$2/$3
re: veya
Options All -Indexes RewriteEngine On RewriteRule ^$ /index.php [L] RewriteCond $1 !^(index\.php|install|img|smarty|images|scripts|fo nts|uploads|css|js|robots\.txt|sitemap\.xml|favico n\.ico) RewriteRule ^(.*)$ index.php/$1 [L] RewriteRule (.*)-(.*)\.html$ wallpapers/show/$2 RewriteRule (.*)-(.*)/$ categories/show/$2 RewriteRule (.*)-(.*)\/(.*)$ categories/show/$2/$3
