Page 1 of 1

UserDir "My Documents/My Website"

PostPosted: 12. October 2005 08:13
by niteowls
i installed Apache 2 and Perl on Windows XP
and have been writting CGI and testing.

Then i wanted to learn and run some PHP. I was unable to install this and make it work. So, i installed XAMPP as a package.

Great Package..... and i can run PHP in my XAMPP htdoc's folder.

All my old files are still in my .... My Documents/My Website where i worked using just Apache 2

I would like to be able to keep all my work there, but, have Not been able to configure this.

i added these lines to my httpd.conf file.

###############
UserDir "My Documents/My Website"

<Directory "C:/Documents and Settings/*/My Documents/My Website">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

DirectoryIndex index.html index.html.var index.cgi

AddHandler cgi-script .cgi .pl
AddHandler server-parsed .html

##############

When i tried to restart Apache, it was busy and would not start.

any help is appreciated.
Thanks for everything.....

PostPosted: 12. October 2005 12:46
by Wiedmann
When i tried to restart Apache, it was busy and would not start.

You should use "apache_start.bat". Then you get a startup error message.