Hot answers tagged

6

OS is winxp sp3. The Apache Friends download page for XAMPP states that Windows XP is no longer supported by the application. However, an alternative link is given for this OS. Windows XP or 2003 are not supported. You can download a compatible version of XAMPP for these platforms here. It seems that the latest version of XAMPP that is compatible with ...


4

This is a known issue with Raleway and some versions of Chrome, it's related to anti-aliasing of fonts. This is a fix for windows, using SVG in the css /*FIX FONT FOR GOOGLE CHROME ON WINDOWS*/ @media screen and (-webkit-min-device-pixel-ratio:0) { @font-face { font-family: 'MyFont'; src: url('fonts/myfont.svg#myfont') format('svg'); font-weight:...


4

One good and easy way to prevent execution of certain file extensions under an specific folder is to use the "Request filtering" feature of IIS to prevent accessing them altogether. Go to the folder in IIS and in the "File Name Extensions" tab of the "Request filtering" feature, add "Deny file extension" rules for the file extensions that you want to lock. ...


4

You should take a look at Windows Azure Web Sites. Web Sites offers a very straightforward way to deploy your apps to Azure without worrying about any virtual machine setup. It also has a free tier, which you can then upgrade when you feel you need more capacity, want to add SSL, or add a custom domain name. Web Sites offers ftp access, but also has full ...


4

This depends on how your network is setup. If you have a central DNS server on your network (as many enterprise business networks have) then you can add a zone record for whatever domain you wish for it to show up as. If you don't currently have a central DNS server you could set one up to achieve what you are after just the same. If both of those options ...


3

Particularly on windows there are some nasty looking warnings about running installer exe's. These can be made much less scary by signing your code release. We make sql charting software, with our setup.exe you only get this one warning: Notice where it says publisher, this means the user gets less warnings and seems safer. I say seems as the only ...


3

You need one additional thing to connect: the address of the server. It can be either an IP address or a host name. After you have the address you can log into the machine through secure shell (SSH). SSH gives you command line access to the machine. You could also use secure copy (SCP) to place your files on the machine. From a Windows machine you ...


2

Simple answer. You are going to have nothing but trouble with a file name of setup.exe. In fact, any file with the .exe extension is going to ruin your day. The good news is, I am pretty sure your not a hacker! (humor) Use WinZip or some other compression file application and create a .zip file with your install in it. Have your users download the .zip file ...


2

Assuming that you want the uploaded files to be served as static content (or else you could just save the uploads outside the root folder of your application): Inside your root web.config (which can't be overwritten by users), use this (as suggested by Javier G., but with allowOverride=false): <location path="upload" allowOverride="false"> <...


2

You need to set maxAllowedContentLength, not maxRequestLength to up the allowed upload size for IIS. the former is the IIS request length limit, the latter is the ASP.NET request length limit. Also important to know is that maxAllowedContentLength is the length in bytes, whereas maxRequestLength is the length in kilobytes. See this question on SO for more ...


2

For an Azure website not running in a VPS, you just need to supply a .pfx file (this step of the tutorial). You can use the Utility running on any Windows machine (including your local workstation) to create the .pfx file as described in the tutorial.


2

Ok, so we have confirmed that our calculations were incorrect. Our provider was giving us reports based on the number of "visits". A visit is calculated based on the amount of time a user spends on our website. However, IE7 users might be rare but they might spend more time on a website compared to a Chrome user. This meant that the percentage we were going ...


2

The issue is, there is a missing AddHandler php5-script .php in the config file.


2

The HTTP status code 500 "internal server error" is shown because the URL's you used are not properly escaped. A quote from StackOverflow: When adding a query string in the action of a rewrite rule, you've got to escape all the "?" and "&" characters in the URL. ? = &#63; & = &amp; For example the following won't work: <action type="...


2

Your Mac is probably retina, which means it uses twice the amount of pixels to display things. Some articles with more information: http://blog.endpoint.com/2014/05/supporting-apple-retina-displays-on-web.html http://www.leemunroe.com/designing-for-high-resolution-retina-displays/ You can emulate retina displays on Windows in Firefox by changing the pixel ...


2

IIS supports header expires, simply add them to your web.config file. Examples: SOURCE <configuration> <system.webServer> <staticContent> <clientCache cacheControlMode="UseExpires" httpExpires="Tue, 19 Jan 2038 03:14:07 GMT" /> </staticContent> </system.webServer> </...


2

From my knowledge, you should only add a new value in your related_applications array: "related_applications": [ { "platform": "play", "id": "com.chatadda.free" }, { "platform": "windows", "url": ""https://www.microsoft.com/...


2

For want of a better solution, and to get this working, I've ended up creating multiple sets of the codebase onto 'fake' domains and pointing a number of the aliases toward each one. If anyone has a better approach I'd still be very interested to hear about it, and change the accepted answer.


2

What worked in my case was updating Web Platform Installer from version 5.0 to 5.1. The download website mentions "WebPI 5.0" but the downloaded MSI actually installs 5.1. PHP 7.3, 7.4, 8.0 are showing after the update.


2

One excellent tool for helping to diagnose this is curl along with a --write-out format and the -I and -L flags. If you use the -I option curl will provide the response headers for each completed request. The -L flag will make sure that curl follows redirects. The -w"@/path/to/format/file.txt" flag will allow you to specify a format file that ...


2

It is not possible to exclude Windows or target only macOS. You can select operating systems for Display and Video ads, but only mobile operating systems are offered. I had a 30 minute conversation with, and multiple configuration attempts by, a Google Ads optimization advisor person, and he couldn't do it either.


2

It is public as soon as it becomes accessible from a public address. All you need is to forward a port from your gateway to your local machine. You need to find out your external IP address. It could be static in which case, it will not change which makes things easier or it could be dynamic. In any case you have to configure your gateway to accept an ...


1

To get it working for me, I added these two lines to the configuration file using the command vim /etc/httpd/conf/httpd.conf: AddType application/x-httpd-php .php AddHandler php5-script .php Then I restarted Apache to reload the configuration changes: systemctl restart httpd.service


1

The clue is in the comment, interestingly enough. I am using long format tags, and the tags and the phpinfo(); function call do appear when viewing the source. This means that the page is not being handled as PHP. You do not need to reinstall You do not need to downgrade You do not need to panic You do need however to get PHP being handled. There may ...


1

First, check for your php.ini file, and if you don't have one, try to reinstall PHP then you'll have one created. Normally at that point, php will work properly. If not, then modify the short_open_tag and asp_tags values, and defintely make sure engine=on is listed in the same section. [PHP] ; This directive determines whether or not PHP will ...


1

You may need to specifically type IIS AppPool\DefaultAppPool Then click "check names" when granting privledges (see here: http://www.iis.net/learn/manage/configuring-security/application-pool-identities and even better, here: https://stackoverflow.com/questions/5437723/iis-apppoolidentity-and-file-system-write-access-permissions)


1

Check your server's apache and php logs for any error. It might help you to narrow down your problem. Besides PHP timeouts, there are also other timeouts in Apache and MySQL which might be causing your script to stop working after 60 seconds, FcgidIOTimeout and FcgidBusyTimeout (file: fcgid.conf) Ref: premature end of script connect-timeout of mysqld ...


1

Create a subdomain. for example: redirect.mydomain.com and add code to index.php (i will use php for redirect): <?php $header = $_SERVER['SERVER_NAME']; $end_p=strlen($header); $header=substr($header,5,$end_p); header("Location: http://$header:8080"); ?> save and close. Create default dns for control: conrtol.domain.com and assign to redirect....


1

You didn't mention it anywhere, but you are using IE, along with NTLM SSO. IE only engages in automatic NTLM handshakes with sites that it deems to be in the Intranet Zone. Otherwise it will throw the popup prompt to explicitly ask for credentials. (Even in the Trusted Zone) So the question is, how does it know a site is in the intranet? Well, first, if you ...


1

If you split your content you could hurt your site rankings if you take away your ranked pages. If you take away non ranked pages, then it'll not impact your site. So check out which of your pages are ranking good, check which of them have external links, and keep them in your main site. Maintaining two sites will be more work, and they will immediately ...


Only top voted, non community-wiki answers of a minimum length are eligible