Jump to content
The Uniform Server Community

ASSISSTANCE NEEDED, HELP PLZ


oconkero
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 weeks later...

If you set the domian name up with the server then you can use it... If you didn't, any link with that domain name will go to that domain name (which means the files clicked should be there...)

Link to comment
Share on other sites

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...
 Share

×
×
  • Create New...