Salut
Am si eu niste nelamuriri si o problema cu .htacces
Deci am codul urmator
care in loc sa imi transforme link-ul in : www. xxx.ro/iaw/ mi-l afiseaza tot www. xxx.ro/ImagesAndWords/_lv_display.phpCod:# Redirects the root directory RedirectMatch permanent ^/$ http://www.xxx.ro/app/home/ Options +FollowSymlinks RewriteEngine on # New rule added below - December 29, 2008 # RewriteRule ^a01/(.*) __sw_APP.php?$1 [NC] RewriteRule ^s01/(.*) __sw_S01.php?$1 [NC] RewriteRule ^app/(.*) __sw_APP.php?$1 [NC] RewriteRule ^iaw/(.*)$ http://www.xxx.ro/ImagesAndWords/_lv_display.php?$1 [NC] #Prevents hotlinking to images #RewriteCond %{HTTP_REFERER} !^$ #RewriteCond %{HTTP_REFERER} !^http://(www\.)?luminous-lint.com/.*$ [NC] #RewriteRule \.(gif|jpg)$ - [F] #Redirects DirectoryIndex http://www.xxx.ro/app/home/ Redirect /__sw.php http://www.xxx.ro/app/home/ Redirect /_switchbox.php http://www.xxx.ro/app/home/ Redirect /index.htm http://www.xxx.ro/app/home/ Redirect /index.html http://www.xxx.ro/app/home/ RewriteRule ^iaw/(.*)$ ttp://www.xxx.ro/ImagesAndWords/_lv_display.php?$1 [NC] # 400 Bad request # 401 Unauthorized # 403 Forbidden # 404 Not found # 500 Internal server Error # Revised April 17, 2008 ErrorDocument 400 http://www.xxx.ro/app/home/ ErrorDocument 401 http://www.xxx.ro/app/home/ ErrorDocument 403 http://www.xxx.ro/app/home/ ErrorDocument 404 http://www.xxx.ro/app/home/ ErrorDocument 500 http://www.xxx.ro/website_down.html #Prevents search engines and specified users scraping the content order allow,deny deny from 202.179.181.140 allow from all #Prevents users seeing the htaccess file <Files .htaccess> order allow,deny deny from all </Files>
Aveti ideea ce este gresit ?



Răspunde cu citat
