LocationMatch not found

Problems with the Linux version of XAMPP, questions, comments, and anything related.

LocationMatch not found

Postby rosede » 29. July 2016 13:19

Hello,

I am using XAMPP for Linux, version 5.6.21. I want to enable remote access for phpMyAdmin, however, LocationMatch is not found in the https.xampp.conf file. Does this version not allow phpMyAdmin to be run remotely at all?

Thank you.

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Nobbie » 29. July 2016 21:50

rosede wrote:https.xampp.conf file


There is no "https.xampp.conf".
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: LocationMatch not found

Postby rosede » 01. August 2016 14:21

Nobbie wrote:
rosede wrote:https.xampp.conf file


There is no "https.xampp.conf".


Excuse me. I meant httpd.xampp.conf.

Thank you.

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Nobbie » 01. August 2016 18:02

Still unknown, there is no httpd.xampp.conf
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: LocationMatch not found

Postby rosede » 02. August 2016 19:52

Sorry. httpd-xampp.conf.

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Altrea » 02. August 2016 20:15

Hi,

did you already search the Apache config files for the string phpmyadmin?
There might not be a LocationMatch line, but there is very sure an access rule for phpmyadmin.

You want to weaken the default security of XAMPP so i can assume that you are able to find such an basic Apache directive.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: LocationMatch not found

Postby rosede » 02. August 2016 21:20

Altrea wrote:Hi,

did you already search the Apache config files for the string phpmyadmin?
There might not be a LocationMatch line, but there is very sure an access rule for phpmyadmin.

Altrea


There are two pieces of documentation that say to enable remote access to phpMyAdmin is to remove phpmyadmin from LocationMatch within etc/extra/httpd-xampp.conf

1. How-To Guides:

To enable remote access to phpMyAdmin from other hosts, follow these steps:

Edit the etc/extra/httpd-xampp.conf file in your XAMPP installation directory (usually, /opt/lampp).

Within this file, find the line below:

<LocationMatch "^/(\?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Update this line and remove phpmyadmin from the list of locations, so that it looks like this:

<LocationMatch "^/(?i:(?:xampp|security|licenses|webalizer|server-status|server-info))">
Restart the Apache server using the XAMPP control panel.

You should now be able to access phpMyAdmin from other hosts.



2. FAQ
In the basic configuration of XAMPP, phpMyAdmin is accessible only from the same host that XAMPP is running on, at http://127.0.0.1 or http://localhost.

To enable remote access to phpMyAdmin, follow these steps:

Edit the etc/extra/httpd-xampp.conf file in your XAMPP installation directory.
Within this file, find the line below and update it to remove 'phpmyadmin' from the list of locations.
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">

Restart the Apache server using the XAMPP control panel.


Altrea wrote:You want to weaken the default security of XAMPP so i can assume that you are able to find such an basic Apache directive.

best wishes,


Yes, I've searched for phpmyadmin, but since two sources point to a LocationMatch directive, then I'm taking that as where I need to look to enable remote access to phpmyadmin. Don't worry about weakening security . This is only accessible on an internal network. No one outside my network will be able to access it, only me.

Thank you.

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby rosede » 04. August 2016 14:51

I'm taking from the lack of a reply that no one else needs to be able to access phpMyAdmin from something other that localhost?

Thank you

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Nobbie » 04. August 2016 16:00

rosede wrote:I'm taking from the lack of a reply that no one else needs to be able to access phpMyAdmin from something other that localhost?


Exactly. I use Xampp for local development only (as designed)-
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: LocationMatch not found

Postby Altrea » 04. August 2016 22:35

rosede wrote:Yes, I've searched for phpmyadmin, but since two sources point to a LocationMatch directive, then I'm taking that as where I need to look to enable remote access to phpmyadmin.

This is a dead end. I am not able to change any FAQs or How Tos except posts here at this forum.

rosede wrote:Don't worry about weakening security . This is only accessible on an internal network.

Well, the internal network i administrate does have multiple ten thousant of Members. So external, internal does not mean anything to estimate the security risk.

You want to weaken a base security feature of XAMPP. That is okay, if you know what you are doing.
We don't want to provide you a step by step tutorial shutting down any elemental security configurations from which you will not learn enything.

But we can help you through the process of learning.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: LocationMatch not found

Postby rosede » 11. August 2016 17:14

Altrea wrote:
rosede wrote:Yes, I've searched for phpmyadmin, but since two sources point to a LocationMatch directive, then I'm taking that as where I need to look to enable remote access to phpmyadmin.

This is a dead end. I am not able to change any FAQs or How Tos except posts here at this forum.

rosede wrote:Don't worry about weakening security . This is only accessible on an internal network.

Well, the internal network i administrate does have multiple ten thousant of Members. So external, internal does not mean anything to estimate the security risk.

You want to weaken a base security feature of XAMPP. That is okay, if you know what you are doing.
We don't want to provide you a step by step tutorial shutting down any elemental security configurations from which you will not learn enything.

But we can help you through the process of learning.


I don't even know where to begin with this reply.

You're not going to change any FAQ or How To's? I'm not asking you to. All I'm saying is that the information in the FAQ and How To is invalid. Both sources point to "LocationMatch" as being how to enable phpmyadmin to be accessible from somewhere else other than on the localhost. And, if someone from outside my network was to gain access, then there is more to worry about than a stupid wiki.

I don't know why you're so worried about me wanting to access the phpmyadmin from a location other than on the localhost. Its none of your concern on how I intend to access this page, and if I'm not concerned, then you shouldn't be as well. As I pointed out, the documentation is wrong or at the minimum, outdated. If there is another way to access phpmyadmin other than on the localhost, I would like to know how to. That is all I am asking.

Let me say this again. I want the ability to access phpmyadmin from another location, other than the localhost. I am not concerned about security. The FAQ and How To is either wrong or out dated. If there is another method, please let me know. If there isn't, please just say so, and I'll go away.

Thank you.

Daryl
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Nobbie » 11. August 2016 18:11

rosede wrote:If there is another method, please let me know


Nothing easier than that. Simply download and install your own copy of phpmyadmin into a folder of your choice and you are upset.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: LocationMatch not found

Postby Altrea » 11. August 2016 18:24

rosede wrote:You're not going to change any FAQ or How To's?

No, that is not what i said. I am not able, i have no access to this pages to edit them.

rosede wrote:I'm not asking you to. All I'm saying is that the information in the FAQ and How To is invalid. Both sources point to "LocationMatch" as being how to enable phpmyadmin to be accessible from somewhere else other than on the localhost.

And i told you not to search for LocationMatch, but for the specific lines where the phpMyAdmin access rules are configured.
You do not seem to be willing or not able to do that, which tells me that you do not have any clue about Apache configuration and you are not willing to invest any time in learning anything about all this.

rosede wrote:I don't know why you're so worried about me wanting to access the phpmyadmin from a location other than on the localhost. Its none of your concern on how I intend to access this page, and if I'm not concerned, then you shouldn't be as well.

I am concerned. You are asking here for help and i want to be sure that you have the knowledge and ability to imagine the consequences of your change.
phpMyAdmin is configured this way for reasons of security. You can of cause lower every security and change any configuration you want to, but i will not assist anybody to lower any security without being able to understand this change or any part of the configuration.

rosede wrote:I am not concerned about security.

But i am. I have already read and applied to many users here asking for help because of deleted databases, hacked XAMPP versions etc. just because they have lowered any security configurations or using XAMPP in a way it is not meant to.

Do you provide any support here? Do you spend your free time here helping others? No? So, let me decide by myself in which way i provide support here. Thank you.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: LocationMatch not found

Postby rosede » 11. August 2016 18:48

Altrea wrote:
rosede wrote:You're not going to change any FAQ or How To's?

No, that is not what i said. I am not able, i have no access to this pages to edit them.

rosede wrote:I'm not asking you to. All I'm saying is that the information in the FAQ and How To is invalid. Both sources point to "LocationMatch" as being how to enable phpmyadmin to be accessible from somewhere else other than on the localhost.

And i told you not to search for LocationMatch, but for the specific lines where the phpMyAdmin access rules are configured.
You do not seem to be willing or not able to do that, which tells me that you do not have any clue about Apache configuration and you are not willing to invest any time in learning anything about all this.

rosede wrote:I don't know why you're so worried about me wanting to access the phpmyadmin from a location other than on the localhost. Its none of your concern on how I intend to access this page, and if I'm not concerned, then you shouldn't be as well.

I am concerned. You are asking here for help and i want to be sure that you have the knowledge and ability to imagine the consequences of your change.
phpMyAdmin is configured this way for reasons of security. You can of cause lower every security and change any configuration you want to, but i will not assist anybody to lower any security without being able to understand this change or any part of the configuration.

rosede wrote:I am not concerned about security.

But i am. I have already read and applied to many users here asking for help because of deleted databases, hacked XAMPP versions etc. just because they have lowered any security configurations or using XAMPP in a way it is not meant to.

Do you provide any support here? Do you spend your free time here helping others? No? So, let me decide by myself in which way i provide support here. Thank you.


Man, you are just to full of yourself aren't you?? You have absolutely no idea what the hell you're talking about, and you're talking down to me as if I'm some noobe that just fell off the turnip truck.

I have to confess here. I've known how to do this since the day I posted this message. As soon as I posted the question,I figured it out, but I decided to keep the posting up because I wanted to see what kind of response I would get. And I'm glad that I did. In nearly 30 years of being an IT engineer, I've never been treated like this, maybe back in the old day's when people such as yourself would through out the "RTFM" to people who were trying to learn and trying to figure things out, but for the most part, user forums have been pretty decent.

Its to bad that you're such a dick. I'm sure there are a lot of newbies out there who need help and support, but because you're such an asshole, their not getting any support.
rosede
 
Posts: 8
Joined: 29. July 2016 13:11
XAMPP version: 5.6.21
Operating System: SLES 11 SP4

Re: LocationMatch not found

Postby Nobbie » 11. August 2016 19:17

rosede wrote: I'm sure there are a lot of newbies out there who need help and support, but because you're such an asshole, their not getting any support.


He is not part of Bitnami and he helps for free. You did not help anybody here. I dont think you have the right to call someone an asshole, that does not help you. Did you pay for support?

Anyway, why dont you simply follow my advice?? Isnt that helpfull enough?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Next

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 26 guests