The web address incorrect error - iis-8

I am new to windows 2012 server as well as iis8. I try to host a sample page with domain name in IIS8. I got following error
Make sure the web address http://www.mytest.com:1024 is correct
How can I rectify this? First created a new website called MyTest and assigned the ip address and port number to that site and set the domain as www.mytest.com.
Sorry for my bad English and thanks in advance.
My code in html page is
<html>
<body>
Welocme
</body>
</html>

try executing your page using url like
http://localhost:1024

Related

An error Url redirected missing port when accessing Admin and removes the port number from the site's URL In Sitefinity CMS V13

I'm working on a development project with Sitfinity CMS - Version 13.0.
I got an error Url redirected missing port when accessing Admin server by IP/domain:
https://10.x.x.1:803/sitefinity or https://example.com:803/sitefinity.
When we alter any form, however, we receive an error message stating that the form is being diverted to an URL address that does not contain a port and displaying the warning below.
The steps that caused the error:
Step1: Login to admin cms (ex: https://10.x.x.1:803/sitefinity, https://example.com:803/sitefinity)
Step2: Edit content -> Forms - Select edit one form.
Url redirected https://10.x.x.1/sitefinity/... or https://example.com/sitefinity/... missing port 803.
Could you please assist me in determining the cause of the error?
Is there any way to fix it?
Thanks so much!
I'd try this: go to Administration > Settings > Advanced > System > Site URL Settings and set the Host and the port there. Check the Enable non-default Stie Url Settings and save.
Restart the site if changes do not apply immediately.

I have a web server Apache setup question

Good morning . For the first time I have written to stackoverflow.
Currently we have a running server. We are using Apache as the web server and WebLogic 10.3.6 as the WAS server.
There is a problem here ... The WAS server has an action that generates a specific error code when accessing it directly. This particular error code is the 902 error code.
When you log in again, you will be given an error code of 902. If you access WAS directly, it will return error code 902.
However, when you access the web server (domain address), it will return a 500 error code instead of 902. Obviously this seems to be a problem with setting up a web server. I do not know where to return the 500 error code instead of the 902 error code.
Do you have any of these in your Apache configuration? I did not set up my own web server but I did not know that someone else was going out.
If you have a similar experience, please help. Thank you.
Attach a photo caputured by Developer Tools.

Selenium HtmlUnitDriver Web Scrape Got Captcha Page From EC2 Server

I wrote a simple web scraper to scrape expedia.com. Using Java Selenium HtmlUnitDriver, i was able to successfully scrape data from the site if i run it locally.
However, when i deploy this on to an EC2 Server, it always returns me the page where expedia detected it as a bot, thus, it displays this captcha to prove a human is accessing it.
I think it might have something to do with ip address of ec2 servers which got blacklisted by expedia.com somehow?
I've tried scraping different websites where they don't care / don't do human test.
Any idea how to go around this?
Things I tried but still detected as bot:
Changing user agent to something i use on my local browser
Setting a proxy
Update:
Actually setting a proxy server gives me a different error:
Current URL is https://www.expedia.com/things-to-do/search?location=Paris&pageNumber=1
The htmlString:
<!--?xml version="1.0" encoding="ISO-8859-1"?-->
<html>
<head>
<title>
500 Internal Server Error
</title>
</head>
<body>
<h1> Internal Server Error </h1>
<p> The server encountered an internal error or misconfiguration and was unable to complete your request. </p>
<p> Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error. </p>
<p> More information about this error may be available in the server error log. </p>
<hr>
<address> Apache/2.4.18 (Ubuntu) Server at www.expedia.com Port 443 </address>
</body>
</html>
Are you covering these topics:
-Which agent are you using? Make sure you are using the same agent which you would use in a human navigation, more details in this link.
-Are you inserting waits in your navigation? If as soon as a page load you try to click or navigate, this isn't simulating a regular navigation. More details.
-Which driver are you using, there is a trick with chromedriver to rename a internal variable "cdc_" to other name like "aaa_" then if there is a javascript code in the server trying to detect this variable (cdc_), it will fail. More details.
-There are more things to be studied if you really need to not be detected by the server:
-Is there a honeypot in place?
-Are your IP (EC2 IP) already blocked? You could redirect using a VPN tunnel.
Interesting articles:
https://www.kdnuggets.com/2018/02/web-scraping-tutorial-python.html
https://antoinevastel.com/bot%20detection/2017/08/05/detect-chrome-headless.html
https://intoli.com/blog/making-chrome-headless-undetectable/

Apache filename too long, client browser looks to be trying to download multiple files in one request

File name too long: [client {CLIENT IP ADDRESS}:58749] AH00036: access to
/wp-content,_plugins,_wp-file-upload,_vendor,_datetimepicker,_jquery-ui-timepicker-addon.min.js,qver==4.6+wp-includes,_js,_jquery,_ui,_sortable.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_tabs.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_accordion.min.js,qver==1.11.4.pagespeed.jc.zgb126SHUb.js
failed (filesystem path
'/home/{DOMAIN HOME DIR}/public_html/wp-content,_plugins,_wp-file-upload,_vendor,_datetimepicker,_jquery-ui-timepicker-addon.min.js,qver==4.6+wp-includes,_js,_jquery,_ui,_sortable.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_tabs.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_accordion.min.js,qver==1.11.4.pagespeed.jc.zgb126SHUb.js')
This strange error log has appeared a few times over the last few months and I can't make much sense of it.
It looks like the client browser is trying to access the url http://domain.com/wp-content,_plugins,_wp-file-upload,_vendor,_datetimepicker,_jquery-ui-timepicker-addon.min.js,qver==4.6+wp-includes,_js,_jquery,_ui,_sortable.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_tabs.min.js,qver==1.11.4+wp-includes,_js,_jquery,_ui,_accordion.min.js,qver==1.11.4.pagespeed.jc.zgb126SHUb.js
Which isn't in the HTML at all, however there is:
<script type='text/javascript' src='http://domain.com/wp-content/plugins/wp-file-upload/vendor/datetimepicker/jquery-ui-timepicker-addon.min.js?ver=4.6.1'></script>
<script type='text/javascript' src='http://domain.com/wp-includes/js/jquery/ui/sortable.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://domain.com/wp-includes/js/jquery/ui/tabs.min.js?ver=1.11.4'></script>
<script type='text/javascript' src='http://domain.com/wp-includes/js/jquery/ui/accordion.min.js?ver=1.11.4'></script>
It looks like the client browser is trying to request all of these files at once by adding "+" between them in one url.
I've never seen this before and over the last month haven't been able to find anything on Google.
One of the the clients browser was Chrome on Android 4.4.
Any help would be greatly appreciated.

A server or scripting issue

I am recieving an error in https
HTTP Status 404 - /cas/login
type Status report
message /cas/login
description The requested resource (/cas/login) is not available.
Apache Tomcat/7.0.23
when i open the same link in http it gives an output (an unknown language)
<html>
<head></head>
<body>
<pre>???�?? </pre>
</body>
</html>
Why is it so...? Is this an server issue or script issue? I feel it as a Server issue?? If so please share a remedy for it...
"The requested resource (/cas/login) is not available." generally indicates that cas was not correctly deployed or Tomcat couldn't load it properly. Could you plz examine the contents of either the catalina or the cas.log files and report back?