Jump to content
The Uniform Server Community

Recommended Posts

Posted

This is in my "/www/.htaccess" file and i need to know if its right. or some people say to delete it but i dont want everyone getting in without a pass so please help. do i delete this one? HELP. i connot connect from the outside of lan, my ISP doesnt block port 80 because i have Shaw Extreme. ask if u need more info. How would i go about this edit the file or wut, what changes do i make. Thx

 

NOTE: i have already tried editing this file!!!

 

Modified .htaccess file

---------------------------------------------------------------------------------------------

 

# This file provides security to the server limiting access to the localhost only.

# Comment to deactivate.

 

# Order Deny,Allow

# Deny from all

# Allow from all hosts

 

# To disallow execution of cgi scripts in this directory comment next two lines.

 

AddHandler cgi-script .bat .exe .pl .cgi

Options +ExecCGI

 

# To unlock Admin Panel, comment the next 4 lines.

# Defaults: Username - admin; Password - userver

 

AuthName "Uniform Server - Admin Panel 1.0 Alpha"

AuthType Basic

AuthUserFile /htpasswd/home/admin/www/.htpasswd

Require valid-user

 

Unmodified .htaccess file

--------------------------------------------------------------------------------------------

 

# This file provides security to the server limiting access to the localhost only.

# Comment to deactivate.

 

Order Deny,Allow

Deny from all

Allow from 127.0.0.1

 

# To allow execution of cgi scripts in this directory uncomment next two lines.

 

AddHandler cgi-script .pl .cgi

Options +ExecCGI

 

# To unlock your server, comment the next 4 lines.

# Defaults: Username = admin; Password = userver

 

#AuthName "Uniform Server - Secure Server Access"

#AuthType Basic

#AuthUserFile /htpasswd/www/.htpasswd

#Require valid-user

oCONKERo

Posted

Try this...

 

 

# This file provides security to the server limiting access to the localhost only.
# Comment to deactivate.

Order Deny,Allow
Deny from all
Allow from all

# To disallow execution of cgi scripts in this directory comment next two lines.

AddHandler cgi-script .bat .exe .pl .cgi
Options +ExecCGI

# To unlock Admin Panel, comment the next 4 lines.
# Defaults: Username - admin; Password - userver

AuthName "Uniform Server - Admin Panel 1.0 Alpha"
AuthType Basic
AuthUserFile /htpasswd/home/admin/www/.htpasswd
Require valid-user

Posted

Will do thx for the reply, all replys help in some way, il get back to you on the server cause im at school and its giving me problems here. Yeah i gotta wait till i get home for me to get it going i think they blocked it cause it says 404 whenever i start it at school, i cant even connect from the server computer, but the disk w is there.

oCONKERo

Posted

ok well i dont know how to use the server so can u please tell me how to use it. and this is now what i get when i type "http://192.168.1.101/diskw/home/admin/www" is that how it works, i dont have a clue, plz help.

 

Forbidden

You don't have permission to access /diskw/home/admin/www on this server.

 

 

--------------------------------------------------------------------------------

 

Apache/2.0.55 (Win32) DAV/2 PHP/5.1.1 Server at 192.168.1.101 Port 80

oCONKERo

Posted

Try this:

 

# This file provides security to the server limiting access to the localhost only.
# Comment to deactivate.

#Order Deny,Allow
#Deny from all
#Allow from 127.0.0.1

# To disallow execution of cgi scripts in this directory comment next two lines.

AddHandler cgi-script .bat .exe .pl .cgi
Options +ExecCGI

# To unlock Admin Panel, comment the next 4 lines.
# Defaults: Username - admin; Password - userver

AuthName "Uniform Server - Admin Panel 1.0 Alpha"
AuthType Basic
AuthUserFile /htpasswd/www/.htpasswd
Require valid-user

 

Make sure that the /htpasswd/www/.htpasswd file is located in that directory and has the right settings in it.

 

Good Luck :)

Posted

dont work and this um /htpasswd/www/.htpasswd file says root:root . see what my server does is gives me a blue screen when i type http://192.168.1.101 and it askes for the login. but thats all i get is a blue screen i dont or cant navigate anywhere, what is its use?

 

Do i need the php 4 plugin or any of them for that matter?

oCONKERo

Posted

hmmm... and this is your network ip? please make sure cause you should not see any color on the browser.. just plain white cause it wont load the page without the login information.

 

Try changing your network ip to something else.

Posted

Woo Hoo, i got it right i started using different servers like Xitami, and Sami, ect. and i learned how all of them work, finally i had an understanding of it all, so i attempted again to get Uniform to work, so i set the "Directory Index File" for my homepage and then that page was linked to all the others. and the last thing was password protecting the site and the apanel. so i changed the usernames and passes and made it so the apanel can be access from anywhere. THANK YOU. I finaly get what ur saying.

 

I guess this topic is done and overwith, i dk. thanks people!

oCONKERo

Posted

i got one last question to anyone, its about the domain name and adress of miy webpage i have hosted on my server. does it have to be my ip adress of can i change the url to an address? Ex: www.conkersdomain.com

oCONKERo

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...