10-15-2004
apache configuration
Hi. I run openbsd and apache 1.3.29
PHP/4.3.9 mod_perl/1.29 DAV/1.0.3 mod_ssl/2.8.16 OpenSSL/0.9.7c
anyway,problem is i have in httpd.conf allow override all in /dir1
and 2 directories
/dir1/.htaccess is
AuthType Basic
AuthName "Password Required"
AuthUserFile /passwords/password.file
Require valid-user
/dir1/visible/.htaccess
Allow from all
Satisfy Any
BUT that damn configuration doesnt work!
any suggestions, i'm over in my ideas.
9 More Discussions You Might Find Interesting
1. Solaris
I seem to have an issue with Apache configurationon our Sun solaris Server.
Since there are 2 my_app instances running in parallel, the perl modules in my_app_perl_libs are getting shared
between them, even though they are in different directories (/u01/my_app and /u01/my_app8).
This is because... (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. Web Development
I am new in Linux configure Apache. I got few questions to ask. I am will grateful for the help. Thanks.
1) In the Apache Configuration File, where is actually the base for the web tree?
2) I wanted to create a directory (called java) inside the base of the web tree. How am I going to do... (5 Replies)
Discussion started by: newlinuxuser
5 Replies
3. Solaris
Good Afternoon Intelligent Administrators/Debuggers!
I am installing JAMES on an internal server (192.168.2.33)
Specs of xxx.xxx.xxx.33 = SunOS v210b 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V210
After placing and "gunziping" the respective file, I am trying to run it by:
... (1 Reply)
Discussion started by: kazmiM
1 Replies
4. Web Development
I am extremely new to Apache httpd configuration. Can you please help here below is my requirement.
If the URL match existing resource - return resource.
If the URL doesn't match existing resource it should return index.html from the app root directory.
Apps root directories are:
1.... (0 Replies)
Discussion started by: kar_333
0 Replies
5. Linux
Hi
I have tried setting up of Apache http server - httpd-2.4.25.
During configuration, I understand it needs APR to be setup. Hence I have downloaded APR & APR-Util.
Performed,
tar xvfC apr-1.5.2.tar /root/httpd-2.4.25/srclib/apr
What is happening is there is another directory... (1 Reply)
Discussion started by: videsh77
1 Replies
6. Shell Programming and Scripting
Hi
I need to find a way to automate the deployment of my apache configuration to a few servers. I make change frequently on apache/conf/... etc, and I usually do this manually by copying files to each servers(and country config path)and restart apache servers.Source file will be like... (1 Reply)
Discussion started by: naresh2389
1 Replies
7. Red Hat
I am running apache 2 on centos 7 which is running ipv4 , now I would like to enable it to support ipv6 , would advise what I need to change to Adding IPv6 support to the server ? or nothing need to do ?
the existing vhosts is as below .
<VirtualHost *:80>
ServerAdmin xxx.com.hk
"
"... (2 Replies)
Discussion started by: ust3
2 Replies
8. UNIX for Advanced & Expert Users
HI
i was trying to configure logrotate for my apache server and it's not working properly.
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
/sbin/service httpd... (1 Reply)
Discussion started by: bentech4u
1 Replies
9. Red Hat
HI
i was trying to configure logrotate for my apache server and it's not working properly.
Os: Red Hat 6
here is my lodrotate configuration
/var/log/httpd/*log {
daily
missingok
notifempty
sharedscripts
compress
delaycompress
postrotate
... (3 Replies)
Discussion started by: bentech4u
3 Replies
LEARN ABOUT DEBIAN
authen::simple::cdbi
Authen::Simple::CDBI(3pm) User Contributed Perl Documentation Authen::Simple::CDBI(3pm)
NAME
Authen::Simple::CDBI - Simple Class::DBI authentication
SYNOPSIS
use Authen::Simple::CDBI;
my $cdbi = Authen::Simple::CDBI->new(
class => 'MyApp::Model::User'
);
if ( $cdbi->authenticate( $username, $password ) ) {
# successfull authentication
}
# or as a mod_perl Authen handler
PerlModule Authen::Simple::Apache
PerlModule Authen::Simple::CDBI
PerlSetVar AuthenSimpleDBI_class "MyApp::Model::User"
<Location /protected>
PerlAuthenHandler Authen::Simple::CDBI
AuthType Basic
AuthName "Protected Area"
Require valid-user
</Location>
DESCRIPTION
Class::DBI authentication.
METHODS
* new
This method takes a hash of parameters. The following options are valid:
* class Class::DBI subclass. Required.
class => 'MyApp::Model::User'
* username
Name of "username" column. Defaults to "username".
username => 'username'
* password
Name of "password" column. Defaults to "password".
password => 'password'
* log Any object that supports "debug", "info", "error" and "warn".
log => Log::Log4perl->get_logger('Authen::Simple::CDBI')
* authenticate( $username, $password )
Returns true on success and false on failure.
SEE ALSO
Authen::Simple.
Authen::Simple::Password.
Class::DBI.
AUTHOR
Christian Hansen "ch@ngmedia.com"
COPYRIGHT
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.8.8 2008-02-29 Authen::Simple::CDBI(3pm)