Vi /etc/services here u can see for which port which service is active
How to make htacess
Go Document Root make one file .htacess & put inside
Vi .htacess
AuthType Basic
AuthName "Password Required"
AuthUserFile /var/www/html/mydev/trunk/web/xyz/.htpasswd
#AuthGroupFile .grp
Require user myycom
Then Press below commond before this make vi .htpasswd file
htpasswd -c .htpasswd username
newpassword=
retype password=
0 comments:
Post a Comment