I have a working XAMPP installation on my pc. I just added XAMPP on my USB stick.
This all seems to work fine, except, when I try to open my files in a browser with
https://127.0.0.1/filename etc It opens the files on my local pc. Even when I run XAMPP via portable apps.
Am I doing something wrong? I would like to open my files on my USB when launching XAMPP via portable apps.
Any help is greatly appreciated.
Are you using Apache installed as a service?
If so, running Apache from the portable XAMPP Launcher will run the service installed by the local XAMPP, you will have to uninstall and re-install the service from the portable XAMPP Launcher, then it should point you in the right direction.
Thanks winterblood for your reply.
I am sorry, but I am not sure what this means, can you please explain?
If you open the launcher of either of your XAMPP installs, is the checkbox to the left of Apache ticked? If so, this means you are running your local Apache as a Windows service.
Another thing to try which I have just thought of (can't test it as I don't have a local and portable version near me right now) is to make sure Apache is stopped from your local launcher before starting it from your portable launcher.
Let me know how you go...
That's the solution! I've unchecked the 'Svc' option for Apache.
Did not realize Apache was running silently on the background (although this
was pretty obvious...)
Thanks for your support!
No worries, glad to help.