Xampp WebServer

Carl discovers the world

  • RSS Feed
  • Login
  • Contact
Ning Themes
Skins 4 Ning, CSS tips, PHP hacks, howto's and theme doc's
Keyword Elite
I use Keyword Elite to find profitable
niches for my online business
Serendipity Directory
Add your site to the Serendipity
Users Directory
Welcome
Herzlich Willkommen


Hi, Welcome to my site, please bookmark me, and feel free to comment on my posts
  • Home
  • About
  • Serendipity
  • Blogger
  • Wordpress
 

Sunday, January 15. 2006

Additional security for xampp test server

You may recall in a previous post I discussed securing your xampp test server so that xampp could be run as a windows service, and not be accessible to the outside world. When you're running a test server this is a significant security breach, and would also allow others to see your test sites before they are complete.

I was satisfied that my webserver was now secure but I didn't reckon on SSL. Thankfully I received a private message from another xampp user who told me I need to also ensure that port 443 is closed to outside traffic. SSL means 'secure sockets layer' and is the extra security applied by your browser to a webpage. You know your browser is using SSL when the address bar says https://some.secure.website, as compared to the more usual http://an.ordinary.website

Xampp ships with SSL because it can actually be used as a production webserver if needed, but to peple like me who only want to test my themes on serendipity blog I don't need these extra facilities. Sometimes I wish a dedicated plain old test server could be packaged up by someone, but until then Xampp is the best.

Now, to secure our test server from outside interference on port 443 we need to bind apache to our local IP (127.0.0.1) on port 443. This time we're going to open 'c:\program files\xampp\apache\conf\extra\httpd-ssl.conf' in wordpad, and once again you will find the listen directive close to the top of the page. Insert this line,

Listen 127.0.0.1:443

Your test server should now include the additional security needed, but you will need to restart xampp for the changes to be applied.
Posted by Carl in Xampp WebServer at 07:56   Comment (1)
Defined tags for this entry: bloggingtechnorati, xampptechnorati

Monday, January 9. 2006

Manage your Xampp sub-folders

Xampp is the most useful piece of software I have on my computer, allowing me to test my websites and themes without having to be connected to the 'net.

Once you start working with more than one website however, you have to create extra sub-folders, which is fine, but then accessing the folders from your browser either means bookmarking your sites or typing the sub-folder name into the browser address bar.

Call me lazy, but I don't want to use bookmarks or type a folder name into my address bar. I decided I just wanted to have http://localhost configured as my browser homepage, and I wanted to simply replace the default xampp page with a new page that simply lists the important links like phpMyAdmin, and all my sub-folders. Worked lke a charm, except I still need to edit the links to add new sub-folders.

Now as fate would have it, I'm trying learn a little php so I can be more knowledgeable when talking to other s9y users in the forums. And to cut a long story short, my search for php tutorials led me to a short script that automatically searches my web folder for new sub-folders, then creates the links without any intervention from me. Read More
Posted by Carl in Xampp WebServer at 12:03   Comment (1)
Defined tags for this entry: xampptechnorati

Thursday, December 15. 2005

Securing Your Xampp Test Server

One of the issues I grappled with was how to keep my test server running as a Windows service, yet also make sure that nobody else over the Net could access my test server. I figured this would be a security breach that might allow someone to hack into my computer.

For those of you who wonder whether this article applies to you, I am using Windows XP Home, and because this version of Windows doesn't come with a webserver, I downloaded and installed the Windows version of Xampp. I am also using the standard firewall that comes with Windows. Read More
Posted by Carl in Xampp WebServer at 08:29   Comments (0)
Defined tags for this entry: xampptechnorati

Tuesday, December 13. 2005

Moving Xampp htdocs to My Documents

From a previous post you would know I'm using Xampp as my preferred test server to run Serendipity so I can develop my themes, type articles and experiment with plugins without actually doing any of this on my real website.

Problem is when you're editing image files, or constantly opening and closing the stylesheet or one of the .tpl files in the templates section it can be really painful to have to go back and forth between My Documents and the htdocs folder within Xampp. Windows Explorer is not the best file manager I've ever used, and saving locations as bookmarks doesn't always remove the frustration. Also, because I use the Gimp as my preferred image editing program, and its designed for the Linux system, everytime I want to save something I have to go through a painful series of clicks to get from My Documents to htdocs.

Well its been annoying me like you wouldn't believe, and then I stumbled across something in the Apache documentation that made me wonder if I could move htdocs to My Documents, and you can. Yeehah! You have to edit a file known as httpd.conf within 'c:\program files\xampp\apache\conf'. Do a find [Ctrl-F] for DocumentRoot. It should only be listed twice. At both locations change the path from the Xampp directory to a new directory (I created a folder called www) in My Documents, now save and close this file. Next, copy everything from your htdocs folder to the new folder you created in My Documents, open the Xampp Server Control Panel and restart Apache.

Test this by changing something in one of the files in your new location, it should work, and also means no more going back and forth between program files and My Documents when you're working on one of your websites.
Posted by Carl in Xampp WebServer at 06:09   Comments (0)
Defined tags for this entry: xampptechnorati

« previous page   (Page 1 of 2, totaling 5 entries)   next page »

Categories

  • Blogger
  • Blogger Templates
  • Carl's Journal
  • Christmas
  • Humanity
  • Italian
  • Ning Templates
  • Palm z22
  • Science/Nature
  • Technology
  • Screencasting
  • SEO, Traffic
  • Serendipity Blog
  • Basic html/css
  • Download Themes
  • Theming Serendipity
  • Using Serendipity
  • Small Business
  • Spain
  • Spanish
  • Travel
  • Wordpress
  • Xampp WebServer

All categories




U COMMENT
I FOLLOW






My Feedburner Feed
Subscribe to my Feedburner

© 2005-7 Carl Galloway.Template by Carl, artwork by Pixabella. Valid XHTML, CSS