password protected part

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
x32825
-


Joined: 09 Jan 2004
Posts: 2

PostPosted: Fri Jan 09, 2004 9:48 pm    Post subject: password protected part Reply with quote

how do i make a password protected part of my website with just using .htm or .html and no php or perl or asp
Back to top View user's profile Send private message
some random person
-


Joined: 06 Oct 2003
Posts: 128
Location: I live here! At my house!

PostPosted: Fri Jan 09, 2004 11:12 pm    Post subject: Reply with quote

Well its really not possable. You could use javascript but someone can view the code easily and just copy the password and username. If you want something secure, you will need php or something like it.
_________________
New image comming soon...

Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction)
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Jan 09, 2004 11:31 pm    Post subject: Reply with quote

It is possible with version 1.2 and up , aprelium has added a feature
that uses patterns to protect a file , if you would like to password protect a file , just type this as your protected path

/*file.html or

/files/*your.html

I hope this helps you out ! 8)

Here's proof

my site is / and my html file is /file.html

http://os17fan.cjb.net:82/

http://os17fan.cjb.net:82/file.html (protected file but same path)

Username: test

Password: abyss
Back to top View user's profile Send private message Visit poster's website
some random person
-


Joined: 06 Oct 2003
Posts: 128
Location: I live here! At my house!

PostPosted: Fri Jan 09, 2004 11:50 pm    Post subject: Reply with quote

That never worked for me. All it does is display my 404 page over that file... And I need to password protect phpMyAdmin soon...
_________________
New image comming soon...

Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction)
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Fri Jan 09, 2004 11:55 pm    Post subject: Reply with quote

Your default error page shouldn't be set , I used my default error page and every time I password protect something it would show my error page instead , delete your default error page and add your error page to the list of error pages code: 404 url: your error page and it will work
Back to top View user's profile Send private message Visit poster's website
some random person
-


Joined: 06 Oct 2003
Posts: 128
Location: I live here! At my house!

PostPosted: Sat Jan 10, 2004 12:38 am    Post subject: Reply with quote

Ah, ok. Works now :D
_________________
New image comming soon...

Image hosted by abyss powered website
Image copyright some random person (I made it......)
Abyss > Apache (Meaning abyss is better than apache)
My site powered by abyss->(Undergoing construction)
Back to top View user's profile Send private message
x32825
-


Joined: 09 Jan 2004
Posts: 2

PostPosted: Sun Jan 11, 2004 4:17 pm    Post subject: Reply with quote

aha i found it out to password protect my whole server and add peoples auth's ect
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jan 11, 2004 6:39 pm    Post subject: Reply with quote

Did my suggestion help ? "x32825"
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group