hi, I was configuring my webserver a minute ago.
And when I restarted apache it gave an error:
syntax error in httpd.conf
it says there is something wrong with my httpd.conf but I cant find any syntax errors.
...
Help?
hi, I was configuring my webserver a minute ago.
And when I restarted apache it gave an error:
syntax error in httpd.conf
it says there is something wrong with my httpd.conf but I cant find any syntax errors.
...
Help?
Just by opening that file in notepad I see a lot! of weird characters and things that are not right.. What did you use to edit it? Try using just plain old notepad or another text editor.
The file looks fine. Open it in Wordpad. Notepad doesn't display UNIX style cr-lf correctly.
The httpd.conf looks fine. Did you try starting with the default one shipped with apache? If that one doesn't work, then you may have installed apache incorrectly. Also, what distribution are you running this on(assuming you're running Linux/BSD)?
Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries
If I have helped you through one of my posts, please click the
blue checkbox on the right below my avatar to add to my reputation.
Screen shot of the file in VI. It doesn't look too good for me..
Edit: Just looked at it in wordpad. You don't see any of those characters in it. They are there though..
Last edited by Bryon; 06-03-2006 at 03:17 PM.
That is because I copy pasted it from vi... , I got it to work somehow. but im stuck with another problem now.
I got it working that every folder in /home/*/public_html is a webfolder
so if there's a user called pete then his adress would be webserver/~pete
The only problem is that I get permission denied in the webfolders.I tried to chmod it but didnt work I did:
chmod 755 /home/*/public_html and
chmod +x /home/*
Try
chmod -R 755 /home/*/public_html
Getting Started | Terms of Service | Paid Hosting | Forum Rules | Free Server Status | Banned Countries
If I have helped you through one of my posts, please click the
blue checkbox on the right below my avatar to add to my reputation.
already have. He wont accept -r
BTW. Bryon , u running fedora?