New to XAMPP and have questions.

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

New to XAMPP and have questions.

Postby interscrilla » 16. October 2012 11:25

hi, hope my experience of trying to use XAMPP will last long. I have couple questions so here we go.

1. I see that I had to allow firewall extensions to the program when I enabled services as Apache, My SQL and others.
Question ( by enabling firewall am I giving someone the permissions to access my work/sites from outside? (I'm very noob in this case and as you know if you wont ask you wont know :P.)
Question ( can any one from outside access my data ? (I Have AVG installed and only enabled firewalls beside the default are linked to XAMPP) (more over I have no .00. enabled port from my router as well.)

my question may be to laugh and some of you might make fun, but as I have stated I'm very careful about my stuff, and don't want to have any one from out side accessing it.

I hope you understand my question and where I am trying to get it. If you can answer my question and any other helping tips you have will be greatly appreciated.

Thank You
-Your Friend :P
interscrilla
 
Posts: 3
Joined: 16. October 2012 11:13
XAMPP Version: 5.6.3
Operating System: Win7

Re: New to XAMPP and have questions.

Postby JonB » 16. October 2012 17:45

Enabling Apache and MySQL in your firewall are necessary for you to be able to use XAMPP at the most basic level.

XAMPP has to be able to 'connect' so you can go to "http://localhost"

Unless your have enabled port forwarding on your router, or your machine is directly connected to the internet - "the outside" can't get in.

Even if you did enable port forwarding, XAMPP has the 'new secruity feature' which, in general, blocks access except from the non-routable/reserved IP ranges.

Code: Select all
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
   Order deny,allow
   Deny from all
   Allow from ::1 127.0.0.0/8 \
      fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
      fe80::/10 169.254.0.0/16

   ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


So if you have a router, and you do not enable port forwarding for ports 80, 443, (Apache ) 3306 (MySQL), and 21 (Filezilla) - you are pretty 'walled-off'.

If you decide to 'connect to the outside world' later - you can also use the XAMPP 'Security Wizard' in the XAMPP Welcome Page to create PW's for the XAMPP folder, MySQL and phpMyAdmin. Be sure to take the option to save PW's to a text file, so we don't have to fix that one later, LOL.

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: New to XAMPP and have questions.

Postby interscrilla » 21. October 2012 14:08

Thank You JonB. It's working so so far.

Is there a way for me to add/make multiple website in XAMPP? for now I could only do one. :P Please let me know,

Thank You
interscrilla
 
Posts: 3
Joined: 16. October 2012 11:13
XAMPP Version: 5.6.3
Operating System: Win7

Re: New to XAMPP and have questions.

Postby Altrea » 21. October 2012 14:11

interscrilla wrote:Is there a way for me to add/make multiple website in XAMPP? for now I could only do one.

Sure.

Simply add a new folder for every website you want to make in your htdocs folder.
e.g.:
C:\xampp\htdocs\website1\
C:\xampp\htdocs\website2\
C:\xampp\htdocs\joomla\
C:\xampp\htdocs\wordpress\
...

You can request them by adding the folder in the url:
http://localhost/website1/
http://localhost/website2/
etc

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: 6539
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64

Re: New to XAMPP and have questions.

Postby interscrilla » 22. October 2012 12:33

Thank You guys, with your help so far its working great. Got to add some extra sites/folders which are accessible through localhost/foldername just beautiful.

Once again Thank you JonB and Altrea, looking forward to ask more question :P
interscrilla
 
Posts: 3
Joined: 16. October 2012 11:13
XAMPP Version: 5.6.3
Operating System: Win7

Re: New to XAMPP and have questions.

Postby Altrea » 22. October 2012 15:24

You are very welcome :D
I wish you all the best and much fun with XAMPP and all that stuff.

For further quastions not relating to this questions here please create a new thread with a selfspeaking headline, so that it can be searched and found easily :)

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: 6539
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 59 guests