Results 1 to 3 of 3

Thread: RESOLVED:How to make virtual directory in apachee?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Apr 2005
    Posts
    1,907

    Resolved RESOLVED:How to make virtual directory in apachee?

    Hi all installed apache in my c drive under c:\webserver\apache\ and my public directory where i put my html files are located at c:\webserver\public\

    I got a huge list of files outside the webserver and it is located at c:\folder\filename\myfiles . I wonder how i can make my website point to that folder and be able to use this folders containt without having to move them inside my public apache folder.

    Is there a way to make it like http:\localhost\myfiles and be able to access c:\folder\filename\myfiles without having to move the folder inside webserver. I be happy if some one tell me how to achive this task.thanks
    Last edited by tony007; Apr 21st, 2006 at 03:58 PM.

  2. #2
    Fanatic Member
    Join Date
    Oct 2004
    Posts
    751

    Re: How to make virtual directory in apachee?

    You can change the root directory, or you can take one of my virtual host and use it as an example:
    <VirtualHost *:80>
    ServerName natesblog.us.to
    DocumentRoot "/Program Files/Apache Group/Apache2/htdocs/blog"
    ServerAlias www.natesblog.us.to
    </VirtualHost>
    Servername is the name you want to name it (I believe this can be anything), DocumentRoot (obvious), and ServerAlias is where you put the url to that site (use a space for mutiple urls like "www.natesblog.us.to natesblog.us.to").
    My Projects: [ Instant Messagener Client/Server ] [ VBPictochat ]

    My Sites:
    [ Datanethost ]
    [ Helpdesk ]

    Remember if my post was helpful then Rate This Post.

  3. #3
    Frenzied Member litlewiki's Avatar
    Join Date
    Dec 2005
    Location
    Zeta Reticuli Distro:Ubuntu Fiesty
    Posts
    1,162

    Re: How to make virtual directory in apachee?

    in the http.conf file located in your <apache root>/conf folder just in case u din know that
    __________________
    ________________0îîî___
    ___îîî0________(___)____
    __(___)_________) _/_____
    ___\_ (_________(_/______
    ____\_)_________________

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width