I have a Windows 2012 Server with IIS8. On it I have a default web site,
defaultsite.com/
and under that site I have two virtual directory sub-site classic asp applications.
defaultsite.com/Site1
defaultsite.com/Site2
Now site2 works fine, but when I go to defaultsite.com/Site1 my browser (IE11) gets sent to defaultsite.com/
Any idea what setting could be causing this?
I have seen websites where a 404 error (page not found) redirects to the home page instead of throwing a 404 error. Possibly your home page in defaultsite.com/Site1 is not configured correctly. You can check if your default page is set up correctly and exists.
Related
Everything worked fine on my local app when .dev domain worked. Now I can't open my app on neither browser (chrome, firefox, opera) so I decided to return to localhost/sitename/public...
I restarted apache on xampp after delete config for .dev and login page apper successfully, but when I enter username and password instead of home page it stays on http://localhost/sitename/public/login and shows me button when says Toggle Navigation in simple html and then site name. When I click on site name it redirects me to http://localhost/home and there says:
Object not found!
The requested URL was not found on this server. The link on the
referring page seems to be wrong or outdated. Please inform the author
of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404 localhost Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/7.1.4
What's this about?
We have been unable to log in to our magento admin panel for a few months now, but this isn't a standard 404 issue.
After logging in with correct username/password, we get redirected to a 404 page. The strange thing is, it only happens from office WIFI, not over 4G or at our developers office. This occurs on our dev server, not live (live logs in just fine)
Our developers have tried creating a new development environment on a new server but the issue is still occurring.
I have tried disabling all firewalls and cannot see anything in router settings which would cause this, anyone had a similar issue or can suggest a solution?
Check your .xml files. You might been redirected to another module url showing the 404 error and check if module is currently actived. This would explain why you still have the same issue even when you're changing server, house, country etc etc.
I’m having trouble trying to view my default page or other web application on a newly created site (New Test Site) on IIS 8.5 for Windows 8.1. I included a directory that contains an html page (test.html) outside of the ‘inetpub’ folder.
Add website window
Physical Path: C:\royalcenters
Type: http
IP Address: All Unassigned
Port: 80
I already arranged the ‘test.html’ page to the top of the list of ‘Default Document’ tab.
List of default pages
However, when I ran the new website on a web browser, the page doesn’t appear. It only shows an error page.
I’m trying to run the website with my computer as the server, so does anybody have any ideas on how to on how I can run the new website on my machine? Thank you.
first things first goto http://localhost/ and see if it works. It should show the IIS Welcome page with version number. If you get a 503 error check if the default app pool is stopped for some reason. If other errors then need to fix those before proceeding to test your html page.
Try hosting that page under the site "Default Web Sites" that comes pre-built with IIS . It uses the default port 80. So if you want to create your own site you need to use a different port number when you create that new site from IIS manager gui.
The default website typically points to a physical folder : c:\inetpub\wwwroot\
so copy your test.html page to the above folder and test by going to the URL : http://localhost/test.html
if it works then Try to create a new Web Site using directions from here (Step 2) below. You can leave the hostname blank if you only intend to use the URL from your local PC. the url will be http://localhost:port/
http://www.iis.net/learn/manage/creating-websites/scenario-build-a-static-website-on-iis#02
EDIT:
so when you are at this screen when creating a new wesite :http://i.stack.imgur.com/1YwVG.jpg
do this :
Sitename = Site01
Apppool = DefaultAppPool (Make sure its started)
Physical path = C:\inetpub\Site01 -- Need to create and grant full rights to Everyone (for now but need to change later to a specific windows account )
Port : 8090
Hostname = Blank
Click Ok
Copy test.html to C:\inetpub\Site01
Browse to http://localhost:8090/test.html
I locally designed my site. Then exported MySql database as Sql file and executed the scripts in the real server. Also copied the joomla directory to the server.
Now, I am getting strange 302 redirection errors in my web site, when I am accessing the home page. However, I am able to login into the admin panel. I can see all my contents available.
The redirection happens to the same page, i.e. continuous requests are issued to the index.php/en/ (checked using fiddler).
Am I missing any configurations?
Regards,
Well this is tricky without a link to the site to see the behaviour in person, but it could be that you forgot to upload a .htaccess file or set the Redirect Base or cookie path/domain in the configuration.php (if it's empty then it's probably not a problem, only if you have manually edited it).
I am trying to develop an web application that takes google address and stores for future use..
I am a little new to codeIgniter and a little help would be appreciable...
I have developed the application in WAMP 2.0..
It works fine there..But when I upload it to a production server, it displays the index page..but as soon as I try to navigate to other pages from the home page it gives a
404 Page Not Found..
You can always check the site here..
The entire application is working fine in my localhost that is in WAMP..
Thanks in advance
it may be to do with case sensitivity in *nix and windows environments.
this link works:
http://www.poimart.com/index.php/poi/create_user
but this doesn't (404s) (no capital P)
http://www.poimart.com/index.php/Poi/create_user
so any references to your pages within your app should have lower case.
Have you checked if any .htaccess file exists in your document root?