Problems with the Windows version of XAMPP, questions, comments, and anything related.
i use to save all my html and php files in a folder called webroot outside of htdocs (i edited the conf file and changed two lines to point to the webroot folder).
I decided to try out drupal to see what the fuss was all about. It didn't work out so well so I deleted it from the webroot folder. Afterwards, i couldn't access the webroot files from localhost. I uninstalled and reinstalled xampp, edited the config file to make the documentroot point to webroot, but I still get the 404 error in my browser when i type up localhost in the address bar.
i copied the webroot folder in to htdocs and i still can't access it from my browser!
ps. the files open up normally when they in the htdocs folder, but i'm trying to avoid the mess
- Posts: 2
- Joined: 21. June 2007 12:35
Open your xampp/apache/conf/extra folder and edit your V-Host file. Add this to the bottom.
- Code: Select all
DocumentRoot "C:/Program Files/xampp/yourdomain_com"
CustomLog @firstname.lastname@example.org_log common
replace yourdomain with what ever your domain name is then create the folder:
- Posts: 7
- Joined: 21. June 2007 18:09
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 49 guests