Jump to content

Apache n00b


mistergoomba

Recommended Posts

So, I just installed Apache via XAMPP and would like to start developing my web pages under htdocs in the apache folder.

Now, when I go to my browser and type in [a href=\"http://localhost/\" target=\"_blank\"]http://localhost/[/a] it goes to index.php in the htdocs folder. Now, I'd like to have 1 folder within htdocs for each web site. How do I tell apache to let each one of these folders be a separate web site? In other words, how can I access it locally and have each one be a separate root directory the same way I can enter [a href=\"http://localhost/\" target=\"_blank\"]http://localhost/[/a] and have that be a root directory. Will each folder have an IP address? Do I use httpd.config? Do I use .htaccess?

Also, how do I a) find out what IP address will access my folder remotely, and b) restrict remote access and only allow the pages to be accessed locally? Will deny all limit access remotely and locally or just remotely??

Thanks for helping a newbie!!
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.