Thread View: pl.comp.www.server-side
2 messages
2 total messages
Started by jivanmuktaWYTNIJTO
Wed, 10 Nov 2010 16:19
HTTP 500 Internal Server Error
Author: jivanmuktaWYTNIJTO
Date: Wed, 10 Nov 2010 16:19
Date: Wed, 10 Nov 2010 16:19
29 lines
1657 bytes
1657 bytes
Dzień dobry,
Przy wchodzeniu na http://localhost/~robert mam HTTP 500 Internal Server Error.
Oto mój plik .htaccess:
#v+
ErrorDocument 401 "/home/robert/public_html/denial.html"
AuthUserFile "/home/robert/public_html/.htpass"
AuthName "Strony zabezpieczone"
AuthType Basic
require valid-user
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.nasze-oferty.com.pl$ [NC,OR]
RewriteCond %{HTTP_HOST} ^nasze-oferty.com.pl$ [NC]
RewriteRule ^(.*)$ not_found.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* index.html [L]
#v-
Pliki /home/robert/public_html/denial.html i /home/robert/public_html/.htpass
istnieją i są poprawne.
--
Wysłano z serwisu OnetNiusy: http://niusy.onet.pl
Re: HTTP 500 Internal Server Error
Author: Mariusz Kruk
Date: Thu, 11 Nov 2010 14:28
Date: Thu, 11 Nov 2010 14:28
36 lines
1805 bytes
1805 bytes
epsilon$ while read LINE; do echo \>"$LINE"; done < "jivanmuktaWYTNIJTO@poczta.onet.pl"
>Dzień dobry,
>Przy wchodzeniu na http://localhost/~robert mam HTTP 500 Internal Server Error.
>Oto mój plik .htaccess:
>
>#v+
>
>ErrorDocument 401 "/home/robert/public_html/denial.html"
>AuthUserFile "/home/robert/public_html/.htpass"
>AuthName "Strony zabezpieczone"
>AuthType Basic
>require valid-user
>
>RewriteEngine on
>
>RewriteCond %{HTTP_HOST} ^www.nasze-oferty.com.pl$ [NC,OR]
>RewriteCond %{HTTP_HOST} ^nasze-oferty.com.pl$ [NC]
>RewriteRule ^(.*)$ not_found.php [L]
>
>RewriteCond %{REQUEST_FILENAME} !-d
>RewriteCond %{REQUEST_FILENAME} !-f
>RewriteRule .* index.html [L]
>
>#v-
>
>Pliki /home/robert/public_html/denial.html i /home/robert/public_html/.htpass
>istnieją i są poprawne.
A mają poprawnego właściciela/uprawnienia?
Miej logi i patrzaj w logi, jak mówił poeta.
--
[------------------------]
[ Kruk@epsilon.eu.org ]
[ http://epsilon.eu.org/ ]
[------------------------]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads