Setting up DVWA : this page is not working - xampp

I put a downloaded file from DVWA in /opt/lampp/htdocs
and change config.inc.php.dist to config.inc.php
but when I open localhost/DVWA this is what shows up:
This page isn’t working localhost is currently unable to handle this
request. HTTP ERROR 500

From the spec:
The 500 (Internal Server Error) status code indicates that the server
encountered an unexpected condition that prevented it from fulfilling
the request.
Since this is the only piece of information you are delivering, some suggestions may be :
Check what the error log file says. You can find it in this location /opt/lampp/logs/error_log . You will find more information about the problem there
Check this question, I think that your problem is similar to that one, checking it may help you.

Related

Laravel snappy returning Failed to load about:blank, with network status code 301 and http status code 0 - Protocol "about" is unknown Error

I am using laravel snappy based on wkhtmltopdf, everything was ok, but now on server and local I am getting this error:
Failed to load about:blank, with network status code 301 and http status code 0 - Protocol "about" is unknown Error.
And
Blocked access to file /var/www/app/public/css/app.css
And no image is rendered in pdf.
This is so strange and discouraging to always being debugging snappy.
I do not understand the issue and do not know how to fix it.
anyone can help me please?
thanks
With Laravel Snappy, you need to use this option
enable-local-file-access
like this :
->setOption('enable-local-file-access', true)
I also discover this link after : wkhtmltopdf, 0.12.6, Warning: Blocked access to file. It will help too.

500 Internal Server Error when logging into Magento front end?

This used to work fine but we've just moved the site from the development area to httpdocs. I've changed all relevant MySQL entries and file paths, but still we're having this error.
In the Apache error log, This is the corresponding error:
client denied by server configuration: /var/www/vhosts/website.com/httpdocs/var/www/vhosts...
It looks like it is getting the wrong path somehow, as the /var/www/vhosts is repeating.
I did try using powergrep to locate where the path is getting set, but it didn't return any results.
Is there a setting which I can specify the exact path?
First of all, check your PHP log, it will give you a detailed info about this error.
Have you checked your permissions?
The folders var and media must be writtable.
And also, could you see correctly the homepage, categories and the error only appears when you log in?
Best regards.

Tool to validate a web.config

Is there a tool that I can use to validate my web.config? The reason I ask is that the file appears to be valid XML and IIS is complaining that file is invalid. No explanation or indication as to why.
Thanks in advance.
Edit:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Notification Unknown
Handler Not yet determined
Error Code 0x8007000d
Config Error
Config File \?\C:\DignityFiles\Source\simplicity\Simplicity\web.config
Requested URL http://simplicity-local.dignitytest.co.uk:80/
Physical Path
Logon Method Not yet determined
Logon User Not yet determined
Config Source:
-1:
0:
More Information:
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
View more information » [This takes you to "https://support.microsoft.com/en-gb/help/942055/-http-error-500-19-error-when-you-open-an-iis-7-0-webpage"]
Link to the web.config (Note: sensitive information has been redacted)
I have (eventually) found the answer: https://stackoverflow.com/a/41267673
Installing the URL rewrite module fixed my issue.
This answer addressses the immediate concern, but if you are looking for a general solution in powershell I have created a function that addresses this.
The full answer is here: how do i validate an IIS web.config in powershell
But the gist of it is you have to find all the "filters" and test each of them individually via Get-WebConfiguration

Magento 1.9.2 Internal server error

I got Internal server error in frontend only.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster#test.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
But my admin page is loaded. I got error only in frontend.
Kindly help me.
Take a backup and delete everything inside var folder.
When I get these kind of errors, they are most likely caused by an error in my .htaccess syntax.

Deploying laravel app on Fortrabbit - 403 internal server serror

I followed the setup to deploy laravel app on fortrabbit but now I am stuck with this error:
Error 403
Internal server error
Overload: More requests than the App can handle.
A script stops with an error. Are your config files up to date? Maybe turn on debugging to trace the error.
There is an error in the .htaccess file.
Something else. Please check the fortrabbit status.
I have checked the configurations but I keep find a cause for that or even a solution for this issue.
That's not really a good question to post her on StackOverflow. It's too specific - probably App- or even service-related. For such cases: please try customer support.

Resources