Hot answers tagged

7 votes

Why does Chrome resolve websitename.localhost as localhost?

From https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/ There's a proposal to add the .localhost domain as a new standard, which will make lives of developers way easier. It would ...
  • 171
7 votes
Accepted

Why does Chrome resolve websitename.localhost as localhost?

From the Wikipedia entry for .localhost (TLD): As a top-level domain, the name has traditionally been defined statically in host DNS implementations with address records (A and AAAA) pointing to ...
  • 41.8k
6 votes
Accepted

Can't install XAMPP on my Windows XP computer due to httpd.exe and php.exe no being valid win32 applications

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 ...
  • 41.8k
2 votes
Accepted

Sync MySQL databases?

Keeping two databases in sync is known as "replication". MySQL supports database replication. In fact one of their use cases seems to match yours pretty well: Long-distance data distribution - ...
2 votes

Trying to have multiple domains, connect to a same XAMPP server but with different websites

Yes, you can do this. Assuming you are using Apache then you can do something like the following using mod_rewrite in either the server config or per-directory .htaccess file: RewriteEngine On ...
  • 41.8k
2 votes
Accepted

How to remove port number from the URL?

Change the port number from 90 to 80 to remove it from the URL. The default port number for HTTP is port 80. If you use any other port number, that port number has to be specified in the URL. ...
2 votes
Accepted

Which version of XAMPP is compatible for php 5.4.45 and where can I find it?

The last version of XAMPP to be based on PHP 5.4 appears to have been the XAMPP 1.8.2-x series, culminating in version 1.8.2-6. But it also seems that 1.8.2 series used MySQL 5.5 not 5.6. The first ...
2 votes
Accepted

How to stop backslash working on XAMPP

Backslashes in file-paths in Apache directives As far as I know, there is no option in Apache to prevent Apache/Windows from interpreting the backslash as a directory separator. However, it is ...
  • 41.8k
1 vote

PHP file not running using XAMPP

"404 Not Found" response means file doest not exist in that directory. i would suggest to recheck the name of the file you are calling. there might be some file naming issue
1 vote
Accepted

Getting HTML includes to work with XAMPP

The error was in the vhost file. Error I received: "Expected </VirtualHost> but saw </Directory>". Deleted the </Directory>, replaced it with </VirtualHost>. ...
  • 252
1 vote

Trying to have multiple domains, connect to a same XAMPP server but with different websites

Virtual Hosts: <VirtualHost *> ServerAdmin admin@localhost.com DocumentRoot "C:/xampp/htdocs" # change this line with your htdocs folder ServerName localhost ServerAlias localhost <Directory ...
1 vote

Access Forbidden XAMPP

Hm... try to put this code into your host file. <Directory "/path/to/your/dir"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow ...
  • 3,858
1 vote

Can't install XAMPP on my Windows XP computer due to httpd.exe and php.exe no being valid win32 applications

I just went through this trying to set up my old XP machine with XAMPP. Do not use the 1.8.2 downloads from Sourceforge: they are either corrupt or invalid, or they come with the files but no ...
  • 19
1 vote

Sync MySQL databases?

There are hundreds of variations to development workflow and what you use should be tailored to what you need and how you work. XAMPP offers the ability to develop locally. It doesn't provide an ...
  • 5,042
1 vote

How can I make sure my website will be available during a presentation?

And, last but not least, make screenprints of all the webpages you were planning to display. Hey, it's worked for me. Put them in Power Point or just organized by name/sequence. Murphy's Law has no ...
  • 181
1 vote

Can I use cloudflare to point my domain to a project hosted on XAMPP?

If you have an internet connection with static IP address, you can do it. First you have to create an entry in the Apache's VirtualHost on xampp with the domain name, and port. Here is a tutorial on ...
1 vote

Installing plugins and themes on Wordpress by web browser GUI

WordPress only prompts for FTP credentials when the web server process does not have the essential file and folder permissions. You're need to make sure that your folders are using 750, or 755 and ...
  • 32.6k
1 vote

Hosting a web site for local network

Where is your website directory on your local filesystem? My guess is that you've probably put the files in the wrong place. When you request <host>/xampp/ (a URL) it's actually serving the ...
  • 41.8k
1 vote

XAMPP alias or rewrite?

... however they lose the page that they were going to. I'm not sure what you mean by this - they shouldn't "lose" anything? However, the URL in the address bar will not be updated - if that is what ...
  • 4,277
1 vote

Xampp on external drive

You mount the drive as you would any other. This will usually make the files on it available via /Volumes/Something/ on your local file system. You can then specify that location as a DocumentRoot or ...
  • 1,609

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