RSS

How To Create an Alias in Wamp

07 Oct

When you install wamp, www will be the default folder to put your site and it will be accessed by http://localhost/site-name.But how can one run site that exists outside www folder.Here ‘s the simple solution

Create a folder in any one of your parititons.Here i have created a folder called trunk in C:\ drive.

  • Right click the wamp icon click and go Apache->Alias directories->add an alias

Wamp-Create-Alias

A new command window will be opened

  • Enter the only(without ant relative or absolute path) the name of the folder that you created and hit enter.

Example:trunk

  • Now specify the path where the folder is located and hit enter.

Example: c:/trunk/

Thats it alias created.Site can be accessed with this url http://localhost/trunk.Store all the files in the folder that you created.

 
1 Comment

Posted by on October 7, 2010 in PHP, Tips & Tricks, Web Development

 

Tags: , , , , ,

One response to “How To Create an Alias in Wamp

  1. biff

    September 9, 2012 at 1:40 PM

    thanks. used to xampp and just editing the config file.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: