How to make a preauthorization login window

Author Message

Zoltan Szabo

Friday 10 September 2004 3:39:46 am

I tried to enter http://www.icbl.org/admin (it's the site of the month), and a login window appeared.
How is it possible to make such a preauthorization system?

Ole Morten Halvorsen

Monday 13 September 2004 7:33:55 am

Zoltan,

This is done with using htpassword and some simple apache configuration.
It is well documented in the apache documentation: http://httpd.apache.org/docs/howto/auth.html

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 11:35:10
Script start
Timing: Jan 19 2025 11:35:10
Module start 'layout'
Timing: Jan 19 2025 11:35:10
Module start 'content'
Timing: Jan 19 2025 11:35:11
Module end 'content'
Timing: Jan 19 2025 11:35:11
Script end

Main resources:

Total runtime0.6737 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.4063152.6563
Module start 'layout' 0.00720.0029 742.062539.5078
Module start 'content' 0.01010.6617 781.5703486.9375
Module end 'content' 0.67170.0019 1,268.50788.2656
Script end 0.6737  1,276.7734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5489160.0002
Check MTime0.00140.2070160.0001
Mysql Total
Database connection0.00120.183010.0012
Mysqli_queries0.630493.5701540.0117
Looping result0.00060.0843520.0000
Template Total0.633194.020.3165
Template load0.00230.336120.0011
Template processing0.630893.632020.3154
Template load and register function0.00050.073810.0005
states
state_id_array0.00100.151710.0010
state_identifier_array0.00110.167720.0006
Override
Cache load0.00170.2491100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.144020.0005
Fetch class attribute name0.00160.233020.0008
XML
Image XML parsing0.00020.033820.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00090.1289100.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs