Blog Archives

mod_access.so missing in apache 2.2.19? Check This!

Hi there admins,

Today I spend an hour figuring out why the “Order” directive in apache 2.2.19 resulted in errors.

Knowing that “Order” was previously provided by “mod_access.so” i started my quest in figuring out why that module was missing. What did i find?

Mod_access was renamed or recompiled to “mod_authz_host.so”.
as described here…

http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html

after adding the module again it worked like a bliss 🙂

Howto compile apache 2.2.x?, heres a hint 🙂

./configure --prefix=/u01/proxy/ #Where to install?\
--enable-ssl=shared \
--enable-proxy=shared \
--enable-proxy-connect=shared \
--enable-proxy-ftp=shared \
--enable-proxy-http=shared \
--enable-proxy-ajp=shared \
--enable-proxy-balancer=shared \
--enable-cache=shared \
--enable-file-cache=shared \
--enable-mem-cache=shared \
--enable-disk-cache=shared \
--enable-deflate=shared \
--enable-http=shared \
--enable-dav=shared \
--enable-vhost-alias=shared \
--enable-rewrite=shared \
--enable-so=shared \
--with-ssl=/usr/bin/openssl > ./reviewlog.txt
make >> ./reviewlog.txt
make install >> ./reviewlog.txt
make clean

http://httpd.apache.org/docs/2.2/new_features_2_2.html#module

Advertisements

Memo : Find Linux distribution Name

Ever wondered what distribution your dealing with, followed all ‘uname’ commands and all you got where kernel versions? Well try this 🙂

cat /etc/*-release

Memo : Find duplicate files in network shares.

Do you have a share floating arround on your network that is basicaly a collection of files that realy need some sorting? But sorting that chaos would mean rebuilding that whole tree? Well you might want to try this 😉

1. Download the Swiss File Knife from SourceForge.
2. Copy the executable and put it on your desktop.
2. Copy this baby to C:\windows by typing the command underneath in run.  

 
cmd.exe /c “copy c:\documents and settings\%username%\desktop\sfk152.exe c:\windows\sfk.exe”     (xp)
cmd.exe /c “copy c:\users\%username%\desktop\sfk152.exe c:\windows\sfk.exe”  (vista)

3. Open the cmd prompt by typing “cmd.exe” in the run.
4. Open or map a network location using the following command(s).
     
 

If authentication as a different user is needed your better off using this one..
net use X: \\the.server.ip.addr\ShareName\ user:domain\username  UPN usernames are also allowed “/user:username@domain.ext”
pushd  \\the.server.ip.addr\ShareName

5. verify that the network location is your current location “C:\ or H:\ in networks is not correct ;).
6. Run the Swiss File Knifecommand and redirect any output by using the following command.

sfk dupfind . > “C:\documents and settings\%username%\desktop\sfkoutput.txt”

Thought this is also a nice one to remember / share 😀

Some Documentation about sfk can be found here…