Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Apache 2.X
Index -> Graphics and Design, Web Design -> (X)HTML Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Blade




PostPosted: Mon May 05, 2003 5:10 pm   Post subject: (No subject)

Quote:
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All


theres that part in the httpd.conf, it must be set to 'All' for the .htaccess files to work... (i use all otherwise you ahve to specify)... i dunno if thats what yer askin for though lol
Sponsor
Sponsor
Sponsor
sponsor
octopi




PostPosted: Mon May 05, 2003 11:50 pm   Post subject: (No subject)

I don't know what you have tired but try this if you haven't already:

code:
AuthType Basic
AuthName "Files"
AuthUserFile /path/to/the/password/file/.htpasswd
Require valid-user


You will need to change the path, but you might be able to get away with

code:
AuthType Basic
AuthName "Files"
AuthUserFile .htpasswd
Require valid-user
- This one you would need to make sure the file was in the same directory, if your using windows its easier to name is passwords.txt and change the name above to match.

And for your .htpasswd file you need to encrypt the passwords.

code:
username:papAq5PwY/QQM

that would be

code:
username: username
password: password


http://www.arago.utwente.nl/comms/webber/sander/encrypt.php

the first two digits of the encrypted password is called the salt, usually you use a random salt, (the site above does) but sometimes you just use the first two letters of the password (in the code snipbit above)
but the salt isn't really important. (Its just to explain to you why the same password can result in a different encrypted string)
JSBN




PostPosted: Tue May 06, 2003 10:45 am   Post subject: (No subject)

thx, i'll try that
+50 to both of you
Blade




PostPosted: Tue May 06, 2003 10:52 am   Post subject: (No subject)

thx, hope you get it working Smile
Blade




PostPosted: Tue May 06, 2003 2:40 pm   Post subject: (No subject)

well..... for some reason i cant get my DNS working properly.... i checked the ip on it and for some reason it still wont work... i reformatted my comp and reinstalled apache, but i had backed up my old httpd.conf file and used that one... it shouldn't be a host problem cuz my ip address works fine if i use that... any ideas?

i just got my friend to go there and it works fine, but its still messed on my computer
octopi




PostPosted: Tue May 06, 2003 3:39 pm   Post subject: (No subject)

Blade:
It sounds like your dns provider isn't too good (Your isp)
Do you have sympatico? they are horible... (I have them Razz)

Try to ping your domain name, if it gives your old ip address goto a website like

http://centralops.net/co/Ping.vbs.asp

See what ip address it shows for your domain name.
You could also try doing something like

http://somethingrandom.subdomain.domainname.com
^^^^^^^^^^^^^^^^
That will force your dns server to grab the latest ip address.
(DNS servers cache addresses so cut down bandwidth costs for them, and increase speed for you)

But of course this will screw up stuff we discussed previously.

You could look for a good dns provider, and set your dns ip numbers on your NIC, that would help.
Blade




PostPosted: Wed May 07, 2003 10:46 am   Post subject: (No subject)

yeah... i do have sympatico... so its sympatico's problem that no-ip isnt working properly... but why was it working before i reformatted?
JSBN




PostPosted: Wed May 07, 2003 11:19 am   Post subject: (No subject)

yea, i am also having problems with sympatico, i was going through a router and it worked for a while, but does not longer(not a dmz problem). so i tried to by pass the router, but now it is messed. so i think i am guna reload the cofig file to the original, if it still doesn't work then i gunna do something Confused .....

DAMN NATION!!!!!!! Twisted Evil ..... that felt good
Sponsor
Sponsor
Sponsor
sponsor
octopi




PostPosted: Wed May 07, 2003 2:19 pm   Post subject: (No subject)

I don't know exactally what the problem is, but sympatico has given me alot of trouble, they have crappy dns servers thats for sure.

About your router problem, I had one before, you don't have a nexland router do you? My problem was with my nexland router, I couldn't access my domain name by typing in "http://grass.etw.ca" or whatever. But other people could. I could access it locally using its local ip address though. But this problem was caused by a problem with the routers firmware (I acctually had to set it back one, cause the latest didn't work)

What kind of router do you have?

Blade: How often do you disconnect from sympatico?
Could it be that you barely ever disconnected, and then when you reformated you disconnected, so then you attach the problem to the formatting, and not the disconnecting of the internet connection? (are you following me?)

Like I only disconnect one a week max, your probally the same right?
When you formatted did you disconnect? If so then your ip would have changed so noip.com would be pointing at the old address, and when you update it, nopip.com updates, but sympatico doesn't refresh its dns records with the new update. (Make sense?)
Blade




PostPosted: Wed May 07, 2003 7:53 pm   Post subject: (No subject)

actually i did disconnect once a week like you, and no-ip gives out this software that auto-updates your ip when you come back on.... i even turned off the software, disabled the service that comes with it, disconnected, waited 5 mins, then reconnected, went to no-ip, manually updated the ip, and it still doesnt work properly... i haven't retried in a few days, so i'll go retry now, but i'm not sure if it'll work
Blade




PostPosted: Wed May 07, 2003 9:24 pm   Post subject: (No subject)

YAY!!! its working now.... kinda wierd...
octopi




PostPosted: Wed May 07, 2003 11:40 pm   Post subject: (No subject)

DNS just takes a name and converts it to a number (not exactally but close enough), if you use no-ip.com they set there servers to update your domain name sumthin.no-ip.com every 3-5 minutes, normal dns servers update once a day. Sympatico's servers are crappy so they don't update as much as they should (they should update all of no-ip.com's records every 5 minutes) so when you type in blade.no-ip.com your computer fetchs the ipaddress from sympatico's crappy out-dated records, and thats where the problem comes in. It tells your computer to look in the old spot.

You can check if where your domain name is pointing by pinging it, and reading the ip address.
Best solution is to wait for the dns servers to update.
Blade




PostPosted: Thu May 08, 2003 7:56 am   Post subject: (No subject)

i didnt think no-ip looked at sympatico for it... i thought it just pretty much "redirected" the ip... not exactly redirect but that's kind of what it is...
octopi




PostPosted: Thu May 08, 2003 3:37 pm   Post subject: (No subject)

No-ip doesn't look at sympatico.

You type in blademan.no-ip.com and your computer connects to sympaticos dns servers and say "where is blademan.no-ip.com located" sympatico goes to no-ip.com and no-ip.com returns "its located at 64.xx.xx.xx" sympatico sends that to you the user, and your browser connects to that IP address for the webpage.

Where the problem comes in is after sympatico requests the info from no-ip sympatico thinks it's being smart and caches the data, so future requests take less time. But since your hostname points to a changing ip address theres a problem when you update it(the domain name).
Sympatico still looks at the old address.
Blade




PostPosted: Thu May 08, 2003 7:01 pm   Post subject: (No subject)

well, i've rebooted 6 or seven times today... and the smartass i am i frieed my processor, ... so i put together another comp with thee same hd, and now its back online.... it still works now...
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 30 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: