Accessing wordpress website instead of XAMPP control panel?

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

Accessing wordpress website instead of XAMPP control panel?

Postby intranetter » 15. January 2014 17:10

My goal here is to use XAMPP and wordpress for a strictly intranet website. I'm using the latest XAMPP and the bitnami wordpress installer.

Right now, everything works the way I want it except for the site url. You go to any desktop in our domain and type http://ABCintranet and it tries to log into the XAMPP control panel. If you go to http://ABCintranet/wordpress it takes you to the actual wordpress intranet site that you would normally want an end user to see.

How would I go about reversing the two? http://ABCintranet should take you to the actual wordpress site, and something like http://ABCintranet/xampp should take you to the xampp control panel. Alternatively, a different port could be used for xampp control panel access.

Thanks!
intranetter
 
Posts: 5
Joined: 15. January 2014 15:49
Operating System: Windows 7

Re: Accessing wordpress website instead of XAMPP control pan

Postby JJ_Tagy » 15. January 2014 17:31

Look in your XAMPP htdocs folder for a file called index.php which auto-forwards to XAMPP admin page.
JJ_Tagy
 
Posts: 788
Joined: 30. January 2012 13:44
XAMPP version: 5.5.15
Operating System: Windows 10 Pro x64

Re: Accessing wordpress website instead of XAMPP control pan

Postby intranetter » 15. January 2014 19:16

JJ_Tagy wrote:Look in your XAMPP htdocs folder for a file called index.php which auto-forwards to XAMPP admin page.


Perfect, got it! ABCintranet now loads the wordpress page and ABCintranet/xampp loads the control panel.

Second question, is there any way to mask the /wordpress/ in the url, or would I just have to reinstall wordpress manually in the xampp root directory?
intranetter
 
Posts: 5
Joined: 15. January 2014 15:49
Operating System: Windows 7

Re: Accessing wordpress website instead of XAMPP control pan

Postby Altrea » 15. January 2014 19:19

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: Accessing wordpress website instead of XAMPP control pan

Postby intranetter » 15. January 2014 19:54

Altrea wrote:namebased virtual hosts are the answer


I added the following to my httpd.conf

<VirtualHost *:80>
ServerName ABCintranet
ServerAlias ABCintranet
DocumentRoot C:/xampp/apps/wordpress
</VirtualHost>

Now going to http://abcintranet gives me an Access Forbidden error, http://abcintranet/wordpress still works just fine

Edit: played around with it, the DocumentRoot had to be C:/xampp/apps/wordpress/htdocs. It masks it if you go to http://bpintranet, but as soon as you start navigating around it adds the /wordpress/ right back. Looks like the rest is on the wordpress side. Thanks for the help!
intranetter
 
Posts: 5
Joined: 15. January 2014 15:49
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 117 guests