This is a discussion on Changing Access Folders within the Windows Web Servers forums, part of the Web Server and Related Forums category; GDay All, I have just set up Apache v2.0.49 on an XP Pro machine (non SP1). So far ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
GDay All,
I have just set up Apache v2.0.49 on an XP Pro machine (non SP1). So far all is well, but I'd like to access my website from another folder (other than HTdocs), is this possible and if so how would I configure that? A look through the faq's was no help at all and the manual wasn't much better. TIA -- Regards trumpy81 |
|
|||
|
trumpy81 wrote:
> I have just set up Apache v2.0.49 on an XP Pro machine (non SP1). > > So far all is well, but I'd like to access my website from another folder > (other than HTdocs), is this possible and if so how would I configure that? > > A look through the faq's was no help at all and the manual wasn't much > better. You're looking for the DocumentRoot directive: http://httpd.apache.org/docs-2.0/mod...l#documentroot And the Directory directive: http://httpd.apache.org/docs-2.0/mod...html#directory You can also modify how it's access via the URL by using the alias directive: http://httpd.apache.org/docs-2.0/mod...ias.html#alias See also: http://httpd.apache.org/docs-2.0/urlmapping.html |