mod_lock.c 1.0
Sponsored Links
mod_lock.c 1.0 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Freeware
Price:
Downloads:
1264
Date added:
2006-05-10
Publisher:
Lyonel VINCENT
mod_lock.c 1.0 description
mod_lock.c Apache module allows to conditionaly lock a part of a web server by just creating a file in a predefined location. This feature is useful for system maintenance on multi VirtualHosted systems.
Configuration:
Integrating into Apache - compiling and linking
To link the lock module with Apache, you must rebuild Apache from its sources with adding mod_lock in the configuration file:
- Copy mod_lock.c in Apache sources directory
- Edit Configuration file according your installation
- Run the Configure script to rebuild the makefile
- Build Apache by typing make
- Install the brand new httpd program
- Edit the web server configuration files (typically httpd.conf and access.conf)
- Restart the web daemon
- Example of a Configuration file
...
Module mime_module mod_mime.o
Module access_module mod_access.o
Module auth_module mod_auth.o
Module negotiation_module mod_negotiation.o
Module includes_module mod_include.o
Module dir_module mod_dir.o
Module cgi_module mod_cgi.o
...
#
# Miscellaneous modules
#
Module lock_module mod_lock.o
httpd.conf Directives
SetLockFile filename default value: none context: Directory or Location effect: Enables the conditional lock for a location. The web server will check for the existence of the file each time it will access the concerned documents. If it finds it, it will return a 503 (Service unavailable) HTTP status code. remarks: if filename is a null string (""), conditional lock will be disabled for this class of documents. LockBypass host1 host2 ... default value: none context: Directory or Location effect: Allows access from an host, even if locked. remarks: hostnames can be either real hostnames (www.hp.com) or domain names (.hp.com).
Known bugs:
wrong access rights can confuse the test of the lock file (access denied is equivalent to not found).
webuser (the user who runs the web daemon) should have read access to the lock file to avoid this behaviour.
Configuration:
Integrating into Apache - compiling and linking
To link the lock module with Apache, you must rebuild Apache from its sources with adding mod_lock in the configuration file:
- Copy mod_lock.c in Apache sources directory
- Edit Configuration file according your installation
- Run the Configure script to rebuild the makefile
- Build Apache by typing make
- Install the brand new httpd program
- Edit the web server configuration files (typically httpd.conf and access.conf)
- Restart the web daemon
- Example of a Configuration file
...
Module mime_module mod_mime.o
Module access_module mod_access.o
Module auth_module mod_auth.o
Module negotiation_module mod_negotiation.o
Module includes_module mod_include.o
Module dir_module mod_dir.o
Module cgi_module mod_cgi.o
...
#
# Miscellaneous modules
#
Module lock_module mod_lock.o
httpd.conf Directives
SetLockFile filename default value: none context: Directory or Location effect: Enables the conditional lock for a location. The web server will check for the existence of the file each time it will access the concerned documents. If it finds it, it will return a 503 (Service unavailable) HTTP status code. remarks: if filename is a null string (""), conditional lock will be disabled for this class of documents. LockBypass host1 host2 ... default value: none context: Directory or Location effect: Allows access from an host, even if locked. remarks: hostnames can be either real hostnames (www.hp.com) or domain names (.hp.com).
Known bugs:
wrong access rights can confuse the test of the lock file (access denied is equivalent to not found).
webuser (the user who runs the web daemon) should have read access to the lock file to avoid this behaviour.
mod_lock.c 1.0 Screenshot
mod_lock.c 1.0 Keywords
creating a file
web server
file in
apache module
mod
module
lock
file
apache
web
mod_lock.c
modlock.c
mod_lock.c 1.0
HTTP
Internet
Bookmark mod_lock.c 1.0
mod_lock.c 1.0 Copyright
WareSeeker periodically updates pricing and software information of mod_lock.c 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of mod_lock.c 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
apache web server
modular homes
web server monitoring
web server extensions
web servers
web server setup
apache gold casino
module master
what is a web server
web server is down
personal web server
ski apache
lunar module
web server software
apache county
module allows users
http web server
embedded web server
Related Software
mod_accounting is an Apache module which measures system resources at the beginning and end of a request. Free Download
mod_ocaml is an Apache module for the use of OCAML as a Web scripting language. Free Download
mod_put Apcahe module implements the HTTP/1.1 PUT and DELETE methods. Free Download
mod_ometer is a web counter implemented as an apache C module. Free Download
Globule is a third-party module for the Apache Web server that allows a given server to replicate its documents. Free Download
mod_vhs is an Apache 2.0/2.1 Web server module allowing mass virtual hosting without the need for file-based configuration. Free Download
mod_perl brings together the full power of the Perl programming language and the Apache HTTP server. Free Download
mod_mp3 turns the Apache Web server into an MP3 or Ogg streaming server. Free Download
Latest Software
Popular Software
Favourite Software