Skip to content
Advertisement

Tag: iis

How to know why a 301 redirect occurred in a PHP application in IIS?

IIS logging has logged that a specific GET request as been redirected. Here is the relevant entry (ip address removed): 2021-10-06 02:48:59 xx.xx.xx.xx GET /test – 80 – xx.xxx.x.xxx Mozilla/5.0+(Windows+NT+6.1;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/93.0.4577.82+Safari/537.36 – 301 0 0 1 The application /test consists of a single index.php file that echo’s the word ‘hello’. There are no url redirect rules set up in IIS. Nor

Error framework-extra-bundle Anotation “Unable to parse file […] The XML file is not valid.”

There is a recurring error in my Symfony projects since a few months. Every time a file at the root of the project is edited (even a space add in an a.txt file will reproduce the bug), I get this error. Unable to parse file “[RootPath]vendorsensioframework-extra-bundlesrcDependencyInjection/../Resources/configannotations.xml”: The XML file “[RootPath]vendorsensioframework-extra-bundlesrcDependencyInjection/../Resources/configannotations.xml” is not valid. The error is remove with the command

IIS HTTP-Fehler 500.19 – Internal Server Error

Hello i try to install a PHP mvc Website in IIS but i just getting this error: HTTP-Fehler 500.19 – Internal Server Error The requested page cannot be accessed because the associated configuration information for the page is invalid. Detailed error information: IIS Web Core module Notification BeginRequest Handler Not yet determined Error code 0x8007000d Configuration error Configuration file ?

Accessing PHP files outside physical path in IIS

I have been told that for security reasons all PHP data handling files should be located outside of the website root directory. I have a website hosted in IIS 10 with the includes folder outside the root. Something like this:- website: C:inetpubwwwrootindex.php and PHP files C:includessubmit.inc.php This is obviously not working since http:localhostincludessubmit.inc.php doesn’t exists. The submit.inc.php is a file

Should I install xampp or wamp?

So I have IIS manager already installed in my computer, and I want to update to php7 then install laravel, but the video tutorials, articles and documentations online is mostly geared towards people who use xampp and wamp I couldn’t find a tutorial for IIS. I really want to download and install xampp or wamp, but our professor said to

Advertisement