Security and Cryptography
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationSecurity and Cryptography

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 19th, 2000, 03:04 AM
CyberOsc CyberOsc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Indonesia
Posts: 87 CyberOsc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
i try to use .htacess script to make some
custom error pages.
But it doesn't work !! Can anyone help me ??

I wrote this on my .htaccess file :
ErrorDocument 404 http://mydomain/404.html
ErrorDocument 500 http://mydomain/500.html
etc

I put .htaccess file on public_html directory
Do I miss something ???
Thx before !!!

NB : The server use Apache web server


Reply With Quote
  #2  
Old July 19th, 2000, 04:40 PM
dwarf dwarf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 300 dwarf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Did you set the AllowOverride directive in your httpd.conf file?? If you haven't try setting it according to the Apache manual (All should do it).

Reply With Quote
  #3  
Old July 30th, 2000, 09:47 PM
CyberOsc CyberOsc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Indonesia
Posts: 87 CyberOsc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Thx for the information !!
I set the Allow Override in the httpd.conf
from None to All
And it works !!!

My next question is :
I read in the httpd.conf guide and it said that there're some choices to fill the Allow Override like Option, File Info, etc

If I wanna make some custom error pages and some password protection with the .htpasswd, what choice is the best ???

Or maybe someone can explain to me what each option mean ??

Thank's before !!



------------------
** It's the world of Oscario **

Reply With Quote
  #4  
Old August 1st, 2000, 12:22 AM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Go to -> http://www.apache.org/docs/mod/core.html#errordocument and look at the "Override:" line. It stated "FileInfo" so that's the one you needed.

Then go to -> http://www.apache.org/docs/mod/core.html#allowoverride and check out the AllowOverride directives.

Reply With Quote
  #5  
Old August 2nd, 2000, 06:39 AM
CyberOsc CyberOsc is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Indonesia
Posts: 87 CyberOsc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Thx alot for your information.
It gives me lots of new knowledge !!!


See ya !!!!



------------------
** It's the world of Oscario **

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationSecurity and Cryptography > help me with the .htaccess


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT