Page 1 of 1

help

PostPosted: 24. June 2006 13:49
by xiaowa
How to add the authentication to my web page ?
How to modify the configuration file "httpd.conf"?
Pls help! Thanks a lot!

PostPosted: 24. June 2006 14:13
by Wiedmann
How to add the authentication to my web page ?

http://httpd.apache.org/docs/2.2/en/howto/auth.html

How to modify the configuration file "httpd.conf"?

Open the file in an editor and modify it...

PostPosted: 25. June 2006 14:35
by xiaowa
Quote:
How to modify the configuration file "httpd.conf"?

Open the file in an editor and modify it...

u r so humor,hoho~~~but thanx anyway.

I m a newer and not familiar with Xampp. My company use the Xampp as our web server, and my boss asked me to set anthentication to our web page. So does the link u gave me of the way to set authentication also fit to Xampp's configuration file?

PostPosted: 25. June 2006 14:58
by Wiedmann
So does the link u gave me of the way to set authentication also fit to Xampp's configuration file?

There is no real "XAMPP configuration file".
--> XAMPP only bundles several standalone applications in one package and preconfigured them to work together. (in XAMPP are the normal applications)

So, all what you can read in the applications manuals, is also valid for XAMPP.

PostPosted: 25. June 2006 15:49
by xiaowa
ok,I c. Then one more question: I have to implement the function in Windows OS, and the directives are all based on Linux,such as how to use the "htpasswd" to create the password file. So if I want to create it in Windows OS, do I just create the file as I used to create normal files under the apache directory?
Many thanx!!!!!!!

PostPosted: 25. June 2006 16:01
by Wiedmann
I have to implement the function in Windows OS, and the directives are all based on Linux

There is no differnce between Windows und *nix

,such as how to use the "htpasswd" to create the password file. So if I want to create it in Windows OS,...

Like on *nix:
http://httpd.apache.org/docs/2.2/en/pro ... asswd.html

Well, one differnce with "htpasswd". You can only use MD5, SHA and Plain hashs, but no Crypt.

PostPosted: 25. June 2006 16:11
by xiaowa
ok,thank you very much. I will try it tomorrow. It's really a hard work for a newer:(

PostPosted: 28. June 2006 02:38
by xiaowa
I followed steps but whenever I put the updated conf file I couldn't start Apache item in the XMAPP Control Panel. Why???

PostPosted: 28. June 2006 03:56
by Wiedmann
I don't know. Or better: There is an error in "httpd.conf", but I don't know which.
--> start Apache with "apache_start.bat" and read the error message.