WordPress.org

Ready to get started?Download WordPress

Forums

Defining a folder in Apache (5 posts)

  1. OperaManiac
    Member
    Posted 10 years ago #

    Sorry for a non-WP-related question.
    On my local machine, I have apache installed.
    But it takes only the folders in c:\phpdev\www in the local host.
    How do I define "C:\Web Site" in conf files so that I can run files as:
    http://localhost/localsite or anything.
    It has to do something with httpd.conf file but I can't get it to work. :P
    Help!

  2. Laughinglizard
    Member
    Posted 10 years ago #

    Find the documentroot directive in your httpd.conf and change it to wherever you want to place your site on your c drive.
    Peace.

  3. OperaManiac
    Member
    Posted 10 years ago #

    i want a folder in addition to the default folder. just like creating virtual names in IIS. :)

  4. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    I think you want an alias then. Look at the alias for /icons/ for an example of how to set one up.

  5. OperaManiac
    Member
    Posted 10 years ago #

    i managed to do it finally. thanks guys. i wish there were an GUI interface that could have done it. But it's better and safer than using IIS anyday. :) i have had very weird experiences with Nimda.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.