General SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesGeneral SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old November 30th, 2003, 11:53 AM
decker decker is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 1 decker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
User Dir

Has anyone any ideas on a problem I have?

I am running Apache HTTP server 2.0.47.

I have created a 'info.php' file - when I copy this file to 'C:\program files\apache group\apache2\htdocs', I can see the PHP Version 4.3.3 info page when I enter 'http://localhost:8080/info.php' into my browser.

However, I have then copied 'info.php' to 'C:\Document and Settings\John Leggett\My Documents\My WebSite' and have then entered 'http://localhost:8080/John Leggett/index.php' into my browser and the page cannot be found and I don't see the PHP Version 4.3.3 info page?

In the Apache 'httpd.conf' file, I have the 'UserDir' entry to read User Dir "C:\Document and Settings\John Leggett\My Documents\My WebSite".

I am running Windows XP Professional. 'John Leggett' is my user name.

If anyone could assist with this, I would be very grateful.

Reply With Quote
  #2  
Old November 30th, 2003, 10:30 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 4 m 48 sec
Reputation Power: 8
Unless I'm mistaken, the UserDir directive doesn't work with Apache under a Windows Environment. On Win32, there's no nice way to figure out a user's home directory.

Reply With Quote
  #3  
Old July 16th, 2004, 12:10 PM
msandersen msandersen is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 msandersen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I do believe you're mistaken. I came here looking for the same answer using Apache2 in Win, however it's not because I can't set or access the user account with plain html pages, it's the PHP module that doesn't seem to be configured correctly. In the past using Apache 1.3 I believe I had it all working, but lost it in a HD crash.
I was hoping someone would have an answer like setting the UserDir in the php.ini file correctly. I have:
user_dir = "My Documents/WWW"
There is always the possibility it's an Apache2/PHP issue, but I don't want to reinstall Apache 1.3 to try.

PS: This Invisionboard reply page doesn't seem to work well with Mozilla.

Reply With Quote
  #4  
Old November 8th, 2005, 04:10 AM
JavaCK JavaCK is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2005
Posts: 1 JavaCK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 42 sec
Reputation Power: 0
Set Apache 2.0.55 UserDir on windows XP

Hi,

I use a Classic Standalone Apache 2.0.55 on Windows XP pro Service Pack2, my test page http://localhostort/~username/test.html do work, so I guess
your issue is not related to PHP, but u may rather use forward slashes '/' and NOT back slahshes '\' in your httpd.conf UserDir directive .... U can try :
UserDir "My Documents/My Website"
UserDir "My Documents/public_html"
UserDir "C:/Documents and Settings/*/My Documents/test"
UserDir "C:/Documents and Settings/*/My Documents/My Website"

strange thing is that : UserDir enabled cause server to fail when trying to start ...

I hope this would help u .

Steve

Quote:
Originally Posted by decker
Has anyone any ideas on a problem I have?

I am running Apache HTTP server 2.0.47.

I have created a 'info.php' file - when I copy this file to 'C:\program files\apache group\apache2\htdocs', I can see the PHP Version 4.3.3 info page when I enter 'http://localhost:8080/info.php' into my browser.

However, I have then copied 'info.php' to 'C:\Document and Settings\John Leggett\My Documents\My WebSite' and have then entered 'http://localhost:8080/John Leggett/index.php' into my browser and the page cannot be found and I don't see the PHP Version 4.3.3 info page?

In the Apache 'httpd.conf' file, I have the 'UserDir' entry to read User Dir "C:\Document and Settings\John Leggett\My Documents\My WebSite".

I am running Windows XP Professional. 'John Leggett' is my user name.

If anyone could assist with this, I would be very grateful.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesGeneral SQL Development > User Dir


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway