Answer the question
In order to leave comments, you need to log in
How to specifically trigger a "500 - internal server error" error?
On the server, there are various files at the root - they are open for viewing and downloading, something like a file washer.
Created a folder at the root of the server /var/www/1/, and in it an empty file called "test".
An empty .htaccess is also placed there. The
question is how can I cause an error 500 - internal server error in the client when I try to enter:
site.ru/1 and site.ru/1/test
Apache settings:
<Directory /var/www/>
#Options Indexes FollowSymLinks
Options Indexes
AllowOverride None
Require all granted
</Directory>
....
<Directory /var/www/1/>
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question