anonīms Posted January 28, 2008 Report Posted January 28, 2008 .htaccess RewriteEngine onRewriteRule ^/([^/\.]+)/?$ index.php?sadala=$1 [L] Kādēļ iemetot htaccess failu, kad iet lapā izmet '403' ? mod_rewrite ir ieslēgts.
anonīms Posted January 29, 2008 Author Report Posted January 29, 2008 Options +FollowSymLinksRewriteEngine on RewriteRule ^/([^/\.]+)/?$ index.php?sadala=$1 [L] Izmet 500 erroru. Dīvaini ir tas, ka uz freehostia.com, šis pats kods iet, bet uz proweb.lv nē.
Aleksejs Posted January 29, 2008 Report Posted January 29, 2008 Web-servera procesam ir tiesības šo failu nolasīt?
anonīms Posted January 29, 2008 Author Report Posted January 29, 2008 Vot par to es arī biju aizdomājies. Šodien vakarā iespējams ziņošu, jo pa dienu tiks zvanīts provaiderim
Delfins Posted January 29, 2008 Report Posted January 29, 2008 Es nasapratu - 403 vai 500 erorrs ? Ja rāda 500, tad viss ir skaidrs - mod_rewrite nav enablēts, vai ir limits uz tiesībām .htaccess jūzāt.
anonīms Posted January 29, 2008 Author Report Posted January 29, 2008 Viss iet. RewriteEngine on rewritecond %{request_filename} !-d RewriteRule ^([^/]+)/$ index.php?sadala=$1 [L]
Recommended Posts