IIS 404 error from Apache php wordpress blog - php

I have configured ApacheLounge on the localhost port 8282 on Windows 7 Ultimate SP1.
I have also installed PHP, MySQL & Wordpress blog to a test website in Apache Server.
The Apache website works fine on port http://localhost:8282/TestWebsite/index.php.
I have created a blog folder at the root folder of the website. I have unzipped wordpress 4.2.2 in the blog folder and configured it correctly with MySQL server.
All links work properly on the website except the blog link.
When I click on the blog link it redirects from localhost:8282/TestWebsite/blog/ to localhost/TestWebsite/blog/
Displaying a error page from IIS
which is as below
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Detailed Error Information
1. Module IIS Web Core
2. Notification MapRequestHandler
3. Handler StaticFile
4. Error Code 0x80070002
5. Requested URL http://localhost:80/testwebsite/blog/
6. Physical Path C:\inetpub\wwwroot\testwebsite\blog\
7. Logon Method Anonymous
8. Logon User Anonymous
I dont understand why would it redirect to IIS port number 80 where it is not hosted at all.
Please anyone help.

Related

Unable to access wordpress site on local host - err: This localhost page can’t be found

Hi All i am facing issue with wordpress installation.
I downloaded wordpress setup from wordpress.org and moved it in var/www/html
but when i try to access it from localhost/wordpress. Iget the following error
This localhost page can’t be found .
but when i try localhost/wordpress/wp-admin it redirects to my other project wp-admin
like
http://localhost/xyz/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-admin%2F&reauth=1
I have not started with installation as yet. and i am able to access my other localhost wordpress sites. But any fresh downloaded wordpress site i am unable to access.
I am working in ubuntu
Things that i have tried
renaming my .htaccess to .htaccess_temp - to ensure if it is ht access issue and i still get the same error.
Got it fixed. There was a hidden wp-config in my root folder which was interrupting the flow.. once deleted the link works fine

URLs return 404 in Apache 2 using Ubuntu?

Basically, any page I go to will return:
404 error
homepage works great but if I go to:
homepage.com/bananas
homepage.com/apples
homepage.com/apples/description1
homepage.com/fruits/tasty-fruits/shop-now
Any page UNDER the homepage will return a 404.
I'm transferring all of my files and database from a shared server to a server on Digital Ocean.
They were all working before I transferred over.
Any ideas why? What do I need to edit?
Using Apache 2 on Ubuntu 16.04.3 LTS.

Wordpress site won't load - 404 - File or directory not found

I copied a working Wordpress site from one server (Windows 2008 Server, IIS v7.0) to another (Windows 2008 r2 Server, IIS v7.5), configured exactly the same in respect to file permissions on all the directories on both sites and IIS configuration on both servers and I get a 404 when I attempt to load the site from the new server. I've tried several suggestions posted on the web without success. Nothing loads, I get the 404 error from everything, so it's not a permalink thing, it never gets that far. So what is the issue?
Answered my own question - turns out I fat-fingered the php directory in the path environment variable when I installed php v7.1.11, added an extra character. The site could not find the php installation hence the 404 error. Fixed the path, all works as expected.

Not able to configure virtual directory in iis

I have instlled wordpress in server and i've created virtual directories.In server it is working fine.
Here is my problem,i want to create virtual directories in wordpress in windows system with IIS.But i'm not able to do that.When i'm trying to access that virtual directory i'm getting error message like below:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
I did same thing in IIS what i have done in server.
Pls help me out.

IIS -> PHP -> Wordpress - ERR_CONNECTION_REFUSED

I'm trying to install Wordpress on IIS, but this annoying problem has been getting on my nerves.
The WP is installed on a Windows Server 2012 with IIS installed (other ASP.NET sites work on it).
There is no firewall enabled on Windows Server.
The login screen disappears if I set the user in IIS, but still giving problem ERR_CONNECTION_REFUSED to anyone who tries to access the blog externally to the server.
I have also tried:
Give folder access permission the user anonimous, but had no effect.
Activate SSL, which had no effect either.
Disable SSL on wordpress: define(‘FORCE_SSL_ADMIN’, false); define(‘FORCE_SSL_LOGIN’, false); on WP_Config.php
Disable php_openssl.dll on PHP Extensions
Follows a print (left the screen of an external user and right navigation screen from the server):
How to solve it?
I found the solution here: http://blog.pluralsight.com/installing-wordpress-on-iis7
I removed the mysql and installed the current version.
I changed the permissions to full control of phpsessions folder for users: IUSR; IIS_IUSRS; Network Service

Categories