Bunlar benim localhost sitelerden ikisinden. Htaccess dosyaları vardır.
Sanal konak 1 (mysite1.com):
# this is the initialization
Options +FollowSymLinks
RewriteEngine On # Turn on the rewriting engine
RewriteRule ^news-07/?$ news_01_06_2007.php [NC,L]
# Handle requests for "news"
RewriteCond %{REQUEST_FILENAME} !-s
RewriteRule ^(.*)\.php$ $1 [nc]
#RewriteRule ^(.*)\.php$ http://mysite1.com/$1 [R,NC]
Ben çalıştığımda http://www.mysite1.com/testfile.php Ancak, - bu ileti görüntülenir hariç olarak yapmalıdır http://mysite.com/testfile yönlendirir:
Not Found
The requested URL /testfile was not found on this server.
Nasıl bu hata iletisini gidermek ve benim. Htaccess dosyası çalışmalarını sağlayabilirsiniz?
Ben anlamak için idare ediyorum. Htaccess iyi, vb örümcekleri engelleme ama bu bana bazı sorunlara neden oluyor gibi şeyler ile ilgili, herkes yanlış biliyor ve ben bu hata gelecekte tekrar meydana önlemek nasıl?
Tüm yardım takdir.