% % & ' % ' ' ( ) ' ' * )+' ', " '' % & )+ $ '" % & -./ $ '$ 0&) ) $ '1 0 2*3 4 '1 ) 4 '1 *&,3 5

Size: px
Start display at page:

Download "% % & ' % ' ' ( ) ' ' * )+' ', " '' % & )+ $ '" % & -./ $ '$ 0&) ) $ '1 0 2*3 4 '1 ) 4 '1 *&,3 5"

Transcription

1

2 % % & ' % ' ' ( ) ' ' * )+' ', " '' % & )+ $ '" % & -./ $ '$ 0&) ) $ '1 0 2*3 4 '1 ) 4 '1 *&,3 5 '4 /,) '4 &) '4 /,) '4 /,). '4' /,), '5 0&) '5 '5 - '5 0, ' 6 ' ' / ' ' & ' ' ( 7 " '' 6 *& " '" 0 " '$ /+ 66! $ '1!) $ " 6 66! 1 ", 1 " 0&) 1 " 0&) 4 $ ).8. 1, 4 0 2*) 4 %.. 4 %/" 5 6,*, 9:,&) * *3 " % % " % ;##<= " % ;##) = ",& "!& $ 9:,&) 66! 1 8& 1 %& 1 %&66! 2*3& 1 %&66! 4 8<.8.>:, 5 8? "#$# #

3 1. Préambule 0,!;>##<<<) 0, ) A% % B,, C! 0, DE* B? *,!,*& : %,??, &).,, F@,G:H), 2. A.N.F.A.!*%.-!IJ0 I%&? ;<<<& )=,*&,?J0%&? ) 3. Définition 7?, ) & 7!* ) 7;,,/+9= & ;),),,@,?F,)& ) = 0&, 8JJ.;8@ J:J &. = - 0$$F$45'";>##<<<&? )# &# &$$,=! 8JJ. J0.#. & 4,,? "#$# #

4 4. Apache 4.1. Origines % 7(, ;$K,, 7?B &,=,3 & 55" :,06%;0 & 6,) %?*),, ) 7>/= %, %6&< &555? A& & & F) ) 7%! A& 7 F&F&&&?,, ),&, %A *?,I&,), :! *% ''? L 1? 3 A L?! *?), L, %ML*,) 4.2. Installation avec l archive tgz % /usr/local/apache,!?f&),, 6?*,F J ) *% &, )+ )#<) ;G1 )+=F & *) ; :=F, ; N+:&=F % G1F 9:,,>./configure --prefix=/usr/local/apache?,f 0,,,makeF 6? ;=F,,make installf - &, )> ln s /usr/local/apache/bin/apachectl /etc/init.d/httpdf, <,,service httpd start, 6 F "#$# '#

5 J < ) <;>##1>44#F &, 44 :@= -,?>7 %,*% 4.3. Installation avec les rpms 6?*,F J ),*% >##,&> o I1I,O"4$, o I,,I1I,O"4$, o I&I1I,O"4$, o I,I1I,O"4$, o I,I1I,O"4$,;= o II1I,O"4$,;=F o II$4$,;.8.=F o,g II4$,;. =F o,gi4i,o,; 66!=F & *) -./; : =F 6? ;=F,> Rpm ivh apache mdk.i586.rpm \ apache-common mdk.i586.rpm \ apache-conf mdk.i586.rpm \ apache-modules mdk.i586.rpm \ mod_perl i386.rpm \ mod_ssl mdk.rpm "#$# "#

6 , <,,service httpd start, 6 F J < ) <;>##1>44#F &, 44 :@= 4.4. Arborescence des fichiers en installation tgz /usr/local/apache/bin > : cgi-bin > & ),,) de )@,?0 conf >&) htdocs > &<,* icons >A*2 & )< include >& *,) libexec > *:*;,,= logs >& A : man >,, proxy >, :@?, 4.5. Arborescence des fichiers en installation RPM /etc/httpd/conf>&) /usr/bin> : /sbin> : /lib/apache> *:% /share/man>,, /share/doc>, /var/log/apache>& A : /www/>racin< &,8J/! /www/cgi-bin > & ),,) 4.6. Configuration générale!& &) *,"> &>& &) F &>& & 2*3:<F,,@>&@,, ;@ & :F >##<<<I,I )& #PQ#//9, :,,=F,)>&,*&@,,*& ;@ &:=F,&>& &)?*A *! &,& &0I &,*& :,,> (.J(%!9- R690J(STR#690J(S U,, "#$# $#

7 9,&& F&) B ),, service http reload ou service http restart!&) <*% & ;>##1>44#= 0??! > > &> >44> &,0 &.,0!,,*,4, B, *.0! >&>, <. J0.0,,); = >@>)*?B : * =%F& )!*? 3 :)7& )?I *??V<V User web >@>,B,?, )?*:% >,H,GG >, <, 0 && )* >,G6GG>, ;<<<,,,= &,0 W,8 ># ###>0, &CO< ># ##> 0, C 0,&)!" >, & &?* 0 2*3 #$>)# G)> A ) A ) &1@)9& 3 XF &: ) ),,? 3 3 X %&'>)#O> ),, "#$# 1#

8 &'>)#> CO, 3 *%0& )@3,, **%@ ): &'> )#G>,, && *% (> * *%> O & )*% ($># ###)#G),,>?B chemin_vers_le_fichier règle_de_formatage_des_traces!&,) & 3)!), &,,), && 4.7. Contrôle d accès Directives générales! ),& & 3 && )*>:,:,>*)*&&?, & ) &??B ;<<<,,,# <<<,,,#:,=9 )?& 9, &? & * F +>& F*,& 2*3,& & 9 > %>&/<F <6@,!O>*@,?F 9:0> *:0F I6IF (9L90 >,, 0 U: UF :> * )*& ; =F /<>.,& ) &@,, I?, &,,3 ;, :=.F 6@,O&(< / >, <6@,!O, &? &,B, '',+>&?,3 B,& 7 Y& ; %,= )0 > %>,& F >& ) F "#$# 4#

9 %0&)>% Z) % +?,, & ; %Q/ F %Q/ F % F %,F %J@F % F -? F, *%=F &> % Z) 2 Z3 ; %9)F %!))F %J@F &J@F :>.,& *: *&&) )*:; % 8,F :) F :(F -,,F,*%=F!,>% Z) 23 2;<F@ = (>% Z) 2 &&? ; ) (,% LQ8O= &' > >, & &? * Directives d authentification et de limitation des accès! B I & & 3 F & *??*? '',"-%<&,% > &, *3 & ;%< &,,,=F &F?* W < F %<F@>*3? &F?* W <? /I& > 0, %<F@! *&,3 &&) *% > > :? *? *& 0,) W &B )#,&* *?) *),*,)*&, ),.> Q> &, *&! Q )!*&Q)$' *&) /"9 3)) F*Q&& "#$# 5#

10 &'>##G >&?,? 0&, ),,<; =!& B &'> ##G) > &? )? &&! ), B &!& B %!@: & > > > -? > & F -? ) ) > ) & F -? I > & F -? &I< >* B & & F -? &I) >,&I<,) & ) ),, < ; * %=> 0 & > htpasswd c /etc/apache_users username > & G,,,, %A* #,&*,> htpasswd /etc/apache_users username >A*,, 6 * > & ;=, ) *!& * :? :, 2*3 : 4.8. Multihoming Directives de configuration!,,) ),B, )! > '>%#,G GG& >,& * J?B>##<<<,,# ),G GG& "#$# #

11 '>6 %,,[,,>,&, J?B&,, ) &)?)3,,9, 8 0'1>, 81>4>,* ),,) &,<.!& J0.*) * AO [,,). 0'1 2)-!"0'1 > & * *.!*.B, [ ;,,),= 33> &) ).,3 ) Multihoming par arborescence!&& ),B,.,B,,,&& 0&) &?)3 2 *3 & &> Alias /site1 /meswebs/site1 Alias /site2 /meswebs/site2 Alias /site3 /home/user_site Multihoming par adresse IP ou par port!&& &&.#! 8 Listen :80 Listen :443 Listen :80 <VirtualHost :80> ServerName DocumentRoot /mesweb/mondomaine.com </VirtualHost> <VirtualHost :443> ServerName DocumentRoot /mesweb/mondomaine_secure.com </VirtualHost> <VirtualHost :80> ServerName DocumentRoot /mesweb/tructmuche.com </VirtualHost>! >! <<<,,, * 5$4F & #,<#,,,F "#$# #

12 ! <<<,, * 5$4F & #,<#,,! <<<,,, * 5$466!; ''=F & #,<#,,G, %>,?6,B Multihoming par nom!&& ),B,.,B,,&&,& & &) ), 8& 8 NameVirtualHost * <VirtualHost *> ServerName DocumentRoot /mesweb/mondomaine.com </VirtualHost> <VirtualHost *> ServerName DocumentRoot /mesweb/trucmuche.com </VirtualHost> <VirtualHost *> ServerName ServerAlias bazaar.com *.bazar.com DocumentRoot /mesweb/bazar.com </VirtualHost>! >! <<<,,, 3 : & #,<#,,,F! <<<,, 3 : & #,<#,,F J[+,3:& #,<#+, %>,?6,B 6 -,?>, & ) *F, Configuration avancée Directives 1%>&&>, & 6? & &?,& *.0)3 & )6*?? ; A &&?* *3,, =F "#$# #

13 4*>>&, &? B :?B!?*@ &?FA?* 4>">&,,,, &? *?B 4*('>"$>,,:,,?B,? B,,:,, &?,B,,!?B, 4*/('>,,:,,?B?* & %F 0,*, & Y%, )3, &! 5 '>>,\% 8JJ.?,?B:J0.&*, &, 4*5 '/>>&,,:,,?B? *,B,\%!,.+>>&,,:,,?% * 4'>!/,G, :# >, &!& : *% 9:,>!/,G :#,G!, *%/ 4'>%/,G,>, *, );, %F )!/! ('4',,, ) )64' '7!")64' >, & &) **, Répertoires utilisateurs, %, G I>AddModule mod_userdir.c &?CO), > RIfModule mod_userdir.c> UserDir public_html </IfModule>!?B >##<<<,,#P # 3 :& O P #G, Compilation avancée! *,;#&) =F B > 886*9""''">,& C %] "#$# #

14 88'8'9'7> *,] 88'89'7 >, &, 888'988'8>3), %] 88'8'9'7> *,&*%] 88'8*> ),, :?, % ) * *:;) :F = A ) ; F, F?)&? B,*) = Modules à désactiver! ),@F,:*F&,:,,,, * -disable-module * *, -disable-module=all?, *,,,?, &? ; B &=>,G,&*-!,G < 7 =,G: &) ;:=,G 6 6;66=,G) 0,,<@ &;0=;&+.8.=,G 0&,) ^ *%;,=,G,*&, *,G,,)?2 & ),, 7 &;,? <<< )= Droits sur les fichiers %* :&?*,F&* ) *? F &?*?: % )**3 &?,,B, &Y ) 7 B # %; :,) I< =*?*, F*:?? )F)7B : "#$# '#

15 ! *% ; = B,& *?:%!, &,, * 3 #: %,F+ *3 *:*%F&?I ) < F* %,* : F <III:II: mkdir /usr/local/apache cd /usr/local/apache mkdir bin conf logs chown 0. bin conf logs chgrp 0. bin conf logs chmod 755. bin conf logs #Suivez la procédure d installation chown 0 /usr/local/apache/bin/httpd chgrp 0 /usr/local/apache/bin/httpd chmod 511 /usr/local/apache/bin/httpd Options sur le site Web 6& : F & %<(??,3 &),&) B,&, & &? *3&? &? +? )> <Directory /> AllowOverride None Order Deny,Allow Deny from all </Directory>. <Directory /usr/local/apache/htdocs> AllowOverride None Order Deny,Allow Allow from all </Directory> /< &!:F <@,OB, )? ) & Support de l authentification 6 )C F&,,, *& 2* CGIs! 0 : 3, 0*?F 3 B "#$# "#

16 6F &+ ),,?*, && I &<, 3) 2,3 &&;0 66 ) :,= 6F ) +??, *:?*, Mettez en place le support de SSL ! A Utilisez 2 )= %+,*AddModule mod_security.c ; 0&), & > <IfModule mod_security.c> AddHandler application/x-httpd-php.php SecAuditEngine On SecAuditLog logs/audit_log SecFilterScanPOST On SecFilterEngine On </IfModule> +R#&/S), & *?066> SecFilterDefaultAction "deny,log,status:500" SecFilter "<(. \n)+>" 0*?*:,&) A Logs *+ *, A : & 3) O)F * ) *@ 0:I+ +*: Chroot! ) *%,, *: *%!:!)%* 3?*:&?,, * & : & *% 0, * ) * *,@3, 0 # #< "#$# $#

17 cd /chroots/web mkdir bin dev etc sbin tmp usr var usr/lib usr/share usr/share/local usr/share/zoneinfo chmod +rwxogu tmp chmod +t tmp 0 & &, *%,;,F &,?FA+,,N=> #création d un device /dev/null mknod m 666 dev/null c 1 3 #paramétrage de la zone cp pi /usr/share/zoneinfo/[votrezone] usr/share/zoneinfo cd etc #paramétrage de l heure ln s../usr/share/zoneinfo/[votrezone] localtime cd.. cp a /usr/share/locale/[votrelocale] usr/share/locale #copie de quelques libs utiles cp -pi /lib/libtermcap.so.2 /lib/ld-linux.so.2 /lib/libc.so.6 lib/ #copie d un shell cp -pi /bin/sh /bin/cat bin/ #création des fichiers d utilisateurs touch etc/passwd etc/group etc/shadow chmod 400 etc/shadow #creation d un utilisateur pour l exécution d Apache (aucun utilisateur root ne sera créé) echo 'www:x:888:888:web Account:/webhome:/usr/bin/false' > etc/passwd echo 'www:x:888:' > etc/group echo 'www:*:10882:-1:99999:-1:-1:-1: ' > etc/shadow cp pi /bin/false bin #les fichiers binaires sont en exécution seule chmod 111 bin/* chmod 111 usr/local/apache/bin/* #libs nécessaires au DNS cp -pi /lib/libnss_files.so.2 lib/ cp -pi /lib/libnss_dns.so.2 lib/ 0&) 6F +& > #<& passwd: files shadow: files group: files hosts: files dns # & domain mondomaine.com # adresse du DNS (ici un cache local) nameserver # localhost loopback #adresse IP interne du serveur ns.mondomaine.com ns www 0 & *%> Cp pi /usr/local/apache usr/local/apache #quelques libs nécessaires au fonctionnement d Apache cp -pi /lib/libdl.so.2 /lib/libm.so.6 /lib/libcrypt.so.1 /lib/libdb.so.3 lib/ cp -pi lib/ 0 7 > & &?? 7/messites/webF /chroots/web/messites/web "#$# 1#

18 , % *, ;?*% # #<# ##= > chroot /chroots/web /usr/local/apache/bin/apachectl start ,@6M! F *.8. O# #,#,@?O,@6M!& *: *,. 3,+:> 6, # ># #,#,@?O # #<# #,#,@?O 6F+&).8.,@6M!.? &),@6M!.; & < = -,?> &) F & *% 9 ) ;= B,F *,? &?? 3?, &,?+ "#$# 4#

19 5. Sécurité avec SSL 5.1. Installation de modssl &* O)(66!; <<< )= &,66!,G;<<<, )= 6 J ) &,GI4I1)+ <<<, ) & ), & *%;#,= %,G> cd mod_ssl &),G>./configure --with-apache=../apache_ with-ssl=chemin_openssl \ --with-crt=/usr/local/apache/conf/ssl.crt/server.crt \ --with-key=/usr/local/apache/conf/ssl.key/server.key \ --prefix=/usr/local/apache. **% -,?>,, *,, <<<, ) 5.2. Configuration du serveur && 66!&) *%. F,66! % &) ) 66!;:,&) & := AddType application/x-x509-ca-cert.crt AddType application/x-pkcs7-crl.crl 0,% W &,,& ) &66! '$>>?%C ; =? 3)& 7!*??*,, )*% (>,># ###)#G>&, & C O 66! (.>> 4*> file:/usr/local/apache/logs/ssl_mutex : &, & C O,? 3)3 66! > ) Q ) (66! 0 B &), ) *% ;66!-,6 =: ;66!-,6= $>V# ###)#G)G)V>& A, 66!;&,,66!= $'>&>A, 66! "#$# 5#

20 !&? <?66! B 8? &?)366! J0.'' #$>>66!J: & 66! (66&'># ###&# # >&? & (65&'> # ###&#O@# O@ > &? & (6(&'> # ###&# # > &? W,3 & ( (6># ###&# >, *3 & *% 0 &?)3 ( (6&'># ###&# # > &? & *% 0 &?)3 ( ># ###&# >,? )3 &,!*,, )/ &> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response Configuration des répertoires!*&) & & &. > / > >, *3 66! * 0 *?*66! 06('> > #? >, * *&66!? & 2?*), (,* &?* -? :* &;?) 0% = +>`69 >,& &,66!! ;:=> `69 > & *,?,,? : 0 *66! `6 -? & 2 * 66!? 66!-? 66!, "#$# #

21 ` OQ%>,&Q *&66! & 2*3 2*3 %; =. F&A & % ) &!, *,, & V0a #(a/0%#(a/#,% a H,,V!,* B V< V />Kb66!G0!9JG6GG0cbV Vc>,& &?*&66!*:,F0,,, &B :,: "#$# #

22 6. Intégration PHP! 3 <<< =B,3 > 6 J ) 3.8. <<< & *) * ), *.,.8../configure --with-apache=../${src_apache} --with-mysql=/usr/, :,B ).8.?,,@? with-mysql=/usr ;?/@6M! -./ =.8. *&, *) ) 0,,,,O 6.8.,,,O %.8.%>,& & & A > o LoadModule php4_module libexec/libphp4.so > )3?.8. o AddModule mod_php4.c>, o IfModule mod_mime.cfa VAddType application/x-httpdphp.php.php3.php4v?&) /,&.8. 6 I 0&) *.8.,0> <Directory /monsiteweb/scriptsphp> #Directives générales DirectoryIndex index.php index.php3 #charge par défaut la page index.php <IfModule mod_php4.c> #configuration spécifique au module PHP php_value include_path '/usr/local/lib/php:.' # répertoires dans lesquels sont stockés des bilbiothèques de scripts php php_flag magic_quotes_gpc Off #pour la sécurité php_flag track_vars On #pour la sécurité </IfModule> </Directory> J < ;& :,?.8.:= 7. Documentation '-,,,::$ 6 ),,>>##<<<, - 0>>##<<<&? )# &#.8.><<< (66!><<< ) /66!><<<, ) /,>>##<<<I,I )& #PQ#//9,,& Y> >## 5:&,@ )#:#:'d)a,!%/.> >##<<<:& )# #, # ) "#$# #

23 8. Contrôle de l intégrité des sources 8.1. Avec PGP J ) &..*%;>##<<< )###\9e6= J ) ) FI 1> -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1i iqa/awuapzrvg4s6yb8iyxxleqkkpgceoxsbexlgyuzewf6mlzd/5+sjrpcaonn6 q7jvnn1yvfn4t3jooy2xm9zg =JeQp -----END PGP SIGNATURE----- & ) &,B,?C+ > % pgpk -a KEYS % pgpv apache_ tar.gz.asc % pgp -ka KEYS % pgp apache_ tar.gz.asc % gpg --import KEYS % gpg --verify apache_ tar.gz.asc 8.2. Avec MD5 9:,,% md5sum apache_ tar.gz 0, *0I 1> $"45$"$"1'''4$ "#$# #

24 9. Script de compilation d apache avec php et modssl! I, F,F?*, ;=,@?;?B +F A)F ) ); B = %,,@,?,,G,&*-!,G < 7 =,G: &) ;:=,G 6 6;66=,G) 0,,<@ &;0=,G 0&,) ^ *%,G,*&, *,G,,)?2 #!/bin/sh #repertoires ou telecharger les sources # # # #ftp://ftp.cac.washington.edu/mail/ # BUILD_OPENSSL=1 CONFIG_MODSSL=1 CONFIG_APACHE=1 BUILD_IMAP=1 BUILD_PHP=1 BUILD_APACHE=1 SRC_APACHE=apache_ SRC_OPENSSL=openssl SRC_MODSSL=mod_ssl SRC_IMAP=imap-2002 SRC_PHP=php DST_APACHE=/usr/local/apache DST_OPENSSL=/usr/local/ssl DST_MODSSL=mod_ssl DST_IMAP=imap-2002 DST_PHP=php APACHE_DISABLED_MODULES=--disable-module=proxy \ --disable-module=mod_alias \ --disable-module=mod_rewrite \ --disable-module=mod_userdir \ --disable-module=mod_autoindex \ --disable-module=mod_include \ --disable-module=mod_status \ --disable-module=mod_imap "#$# '#

25 if [! -d./logs ]; then mkdir./logs fi if [ $BUILD_OPENSSL -eq 1 ]; then echo Openssl cd ${SRC_OPENSSL} echo " Config"./config --prefix=${dst_openssl} shared >&../Logs/openssl_config.log exit 1 echo " Fin : Config" echo " Compil" ; make >&../Logs/openssl_compil.log exit 1 echo " Fin : Compil" echo " Install" ; make install >&../Logs/openssl_install.log exit 1 echo " Fin : Install" echo "Openssl fin" cd.. else echo Openssl : ignore fi if [ $CONFIG_MODSSL -eq 1 ]; then echo mod_ssl cd ${SRC_MODSSL} echo " Config"./configure --with-apache=../${src_apache} \ --with-ssl=${dst_openssl} \ --with-crt=${dst_apache}/conf/ssl.crt/server.crt \ --with-key=${dst_apache}/conf/ssl.key/server.key \ --prefix=${dst_apache} >&../Logs/modssl_config.log exit 1 echo " Fin : Config" echo "mod_ssl fin" cd.. else echo mod_ssl : ignore fi if [ $CONFIG_APACHE -eq 1 ]; then echo "Apache (preparation)" cd ${SRC_APACHE} echo " Config"./configure --prefix=${dst_apache} >&../Logs/apache.log exit 1 echo " Fin : Config" echo "Apache fin" cd.. else echo "Apache (preparation) : ignore" fi if [ $BUILD_IMAP -eq 1 ]; then echo imap cd ${SRC_IMAP} echo " Compil" make slx >&../Logs/imap-compil.log exit 1 echo " Fin : Compil" echo "imap fin" cd.. else echo imap : ignore fi if [ $BUILD_PHP -eq 1 ]; then echo PHP cd ${SRC_PHP} "#$# "#

26 CFLAGS='-O2 -I${DST_OPENSSL}/include' echo " Config"./configure --with-apache=../${src_apache} \ --with-gettext \ --with-freetype-dir \ --with-mysql=/usr/ \ --enable-memory-limit=yes \ --with-imap=../${src_imap} \ --with-zlib-dir=/usr \ --with-jpeg-dir \ --with-png-dir \ --with-gd >&../Logs/php_config.log exit 1 echo " Fin : Config" echo " Compil" ; make >&../Logs/php_compil.log exit 1 echo " Fin : Compil" echo " Install" ; make install >&../Logs/php_install.log exit 1 echo " Fin : Install" echo PHP fin cd.. else echo PHP : ignore fi if [ $BUILD_APACHE -eq 1 ]; then echo Apache cd ${SRC_APACHE} SSL_BASE=${DST_OPENSSL}/include/ EAPI_MM=../mm-1.1.x echo " Config"./configure --enable-module=ssl \ --enable-shared=ssl \ --prefix=${dst_apache} \ --activate-module=src/modules/php4/libphp4.a \ --enable-shared=php4 \ ${APACHE_DISABLES_MODULES} >&../Logs/apache_config.log (exit 1) echo " Fin : Config" echo " Compil" ; make >&../Logs/apache_compil.log exit 1 echo " Fin : Compil" echo " Install" ; make install >&../Logs/apache_install.log exit 1 echo " Fin : Install" echo "Apache fin" echo Fin cd.. else echo Apache : ignore fi "#$# $#

27 10. Exemple de configuration d une restriction d accès Fichiers AuthUserFile et AuthGroupFile. :,F& *& > AuthUserFile LLL! V#0a -#6Ja1"TV &66! ; :, 66!= joe:xxx bob:xxx alice:xxx /C=FR/ST=75/O=Maison/OU=Maison Users/CN=homme/ [email protected]:XXX /C=FR/ST=75/O=Maison/OU=Maison Users/CN=femme/ [email protected]:XXX root:xxx AuthGroupFile (/etc/htgroups) Utilisateurs_ssl: "/C=FR/ST=75/O=Maison/OU=Maison Users/CN=homme/ Address=ho [email protected]" "/C=FR/ST=75/O=Maison/OU=Maison Users/CN=femme/ Address=femme@ home.com" Utilisateurs_web1: "/C=FR/ST=75/O=Maison/OU=Maison Users/CN=homme/ Address=h [email protected]" alice joe Utilisateurs_misc: joe bob Globalement dans access.conf - *3 A> <Directory /usr/local/apache/htdocs/secure> AllowOverride None DirectoryIndex index.htm Order allow,deny Allow from all AuthName "Acces restreint" AuthType Basic AuthUserFile /etc/htpasswd require user joe bob alice </Directory>!@:,B, <Directory /usr/local/apache/htdocs/secure> AllowOverride None DirectoryIndex index.htm Order allow,deny Allow from all AuthName "Acces restreint" AuthType Basic AuthUserFile /etc/htpasswd AuthGroupFile /etc/htgroups require user alice require group Utilisateurs_misc </Directory>!@:, < > "#$# 1#

28 <Directory /usr/local/apache/htdocs/secure> AllowOverride None DirectoryIndex index.htm Order allow,deny Allow from all AuthName "Acces restreint" AuthType Basic AuthUserFile /etc/htpasswd require valid-user </Directory> & ; = <Directory /usr/local/apache/htdocs/secure> AllowOverride AuthConfig # activation du support de fichier htaccess DirectoryIndex index.htm Order allow,deny Allow from all #il est possible de definir un controle d acces qui pourra etre modifier par un fichier htaccess s il existe </Directory> Locale via un fichier.htaccess 0,B,?& &, C>. :, A F & > Order allow,deny Allow from all AuthName "Acces restreint" AuthType Basic AuthUserFile /etc/htpasswd AuthGroupFile /etc/htgroups require group Utilisateurs_misc "#$# 4#

29 11. Exemple de configuration SSL Httpd.conf?*&?* &) = <IfDefine SSL> AddType application/x-x509-ca-cert.crt AddType application/x-pkcs7-crl.crl </IfDefine> <IfModule mod_ssl.c> SSLPassPhraseDialog builtin SSLSessionCache dbm:/usr/local/apache/logs/ssl_scache SSLSessionCacheTimeout 300 SSLMutex file:/usr/local/apache/logs/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin SSLLog /usr/local/apache/logs/ssl_engine_log SSLLogLevel info </IfModule> <IfDefine SSL> Listen 443 <VirtualHost *:443> DocumentRoot "/usr/local/htdocs" ServerName ServerAdmin [email protected] ErrorLog /usr/local/apache/logs/www_ssl_error_log TransferLog /usr/local/apache/logs/www_ssl_access_log SSLEngine on SSLCipherSuite ALL:!ADH:!EXP56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile /usr/local/apache/conf/ssl.crt/ SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/ SSLCertificateChainFile /usr/local/apache/conf/ssl.crt/ca.crt SSLCACertificatePath /usr/local/apache/conf/ssl.crt SSLCACertificateFile /usr/local/apache/conf/ssl.crt/ca.crt SSLCARevocationPath /usr/local/apache/conf/ssl.crl <Files ~ "\.(cgi shtml phtml php php3?)$"> SSLOptions +StdEnvVars </Files> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog /usr/local/apache/logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> </IfDefine> Access.conf Authentification SSL avec contrôle d accès dans des fichiers.htaccess <Directory /usr/local/apache/htdocs/secure AllowOverride AuthConfig DirectoryIndex index.htm Order allow,deny "#$# 5#

30 Allow from all <IfDefine SSL> SSLRequireSSL SSLVerifyClient optional # il est possible de se connecter sans certificats pour de simples utilisateurs declares dans htacccess par exemple SSLOptions +StdEnvVars +StrictRequire +FakeBasicAuth </IfDefine> </Directory> & & % A & ) > CN=root/O=MaCA/OU=Maison/ [email protected]:xxj31ZMTZzkVA! ::Af/Jf+O%, D< & % &&* 3&,,> Order allow,deny Allow from all AuthName "Acces restreint" AuthType Basic AuthUserFile /etc/htpasswd require user "CN=root/O=MaCA/OU=Maison/ [email protected]" Authentification SSL avec contraintes *3 * &F ` OQ% *. &) 0% 7,* <Directory /usr/local/apache/htdocs/secure> AllowOverride None DirectoryIndex index.php # pages dynamiques générées par PHP Order allow,deny Allow from all <IfModule mod_php4.c> # configuration de PHP php_value include_path '/usr/local/lib/php:.' php_flag magic_quotes_gpc Off php_flag track_vars On </IfModule> <IfDefine SSL> SSLRequireSSL SSLVerifyClient require # il n est pas possible de se connecter sans certificat SSLOptions +StdEnvVars +StrictRequire SSLRequire %{SSL_CLIENT_S_DN_CN} in {"root"} # le Common Name doit être root </IfDefine> </Directory> "#$# #

31 12. Helloworld PHP : index.html <html> <head> <title>exemple</title> </head> <body> <?php write "Bonjour, je suis un script PHP!"?> </body> </html> "#$# #

32 13. Historique des version F'##>.,3! F##>, &*: "#$# #

This section describes how to use SSL Certificates with SOA Gateway running on Linux.

This section describes how to use SSL Certificates with SOA Gateway running on Linux. This section describes how to use with SOA Gateway running on Linux. Setup Introduction Step 1: Set up your own CA Step 2: SOA Gateway Server key and certificate Server Configuration Setup To enable the

More information

Implementing HTTPS in CONTENTdm 6 September 5, 2012

Implementing HTTPS in CONTENTdm 6 September 5, 2012 Implementing HTTPS in CONTENTdm 6 This is an overview for CONTENTdm server administrators who want to configure their CONTENTdm Server and Website to make use of HTTPS. While the CONTENTdm Server has supported

More information

Creating X.509 Certificates With OpenSSL

Creating X.509 Certificates With OpenSSL Creating X.509 Certificates With OpenSSL Overview This procedure describes one of the ways to use OpenSSL to create an X.509 Certificate file and an associated RSA Key file to use for ssl/tls certificates.

More information

ViMP 3.0. SSL Configuration in Apache 2.2. Author: ViMP GmbH

ViMP 3.0. SSL Configuration in Apache 2.2. Author: ViMP GmbH ViMP 3.0 SSL Configuration in Apache 2.2 Author: ViMP GmbH Table of Contents Requirements...3 Create your own certificates with OpenSSL...4 Generate a self-signed certificate...4 Generate a certificate

More information

To enable https for appliance

To enable https for appliance To enable https for appliance We have used openssl command to generate a key pair. The below image shows on how to generate key using the openssl command. SSH into appliance and login as root. Copy all

More information

User s guide. APACHE 2.0 + SSL Linux. Using non-qualified certificates with APACHE 2.0 + SSL Linux. version 1.3 UNIZETO TECHNOLOGIES S.A.

User s guide. APACHE 2.0 + SSL Linux. Using non-qualified certificates with APACHE 2.0 + SSL Linux. version 1.3 UNIZETO TECHNOLOGIES S.A. User s guide APACHE 2.0 + SSL Linux Using non-qualified certificates with APACHE 2.0 + SSL Linux version 1.3 Table of contents 1. PREFACE... 3 2. GENERATING CERTIFICATE... 3 2.1. GENERATING REQUEST FOR

More information

Configuring MassTransit for the Web Using Apache on Mac OS 10.2 and 10.3

Configuring MassTransit for the Web Using Apache on Mac OS 10.2 and 10.3 Using Version: 1.1 Date: 2/18/2004 Version History Version Date Author Changes 1.0 2/2/2004 Janie Longfellow Created from MassTransit Web Config doc. 1.1 2/18/2004 Janie Longfellow Added copyright information.

More information

Web Server: Principles and Configuration Web Programming 8) Web Server

Web Server: Principles and Configuration Web Programming 8) Web Server Web Server: Principles and Configuration Web Programming 8) Web Server Emmanuel Benoist Fall Term 2013-14 Introduction Presentation of Apache Principles of a Web Server Apache Installation Apache Configuration

More information

SecuritySpy Setting Up SecuritySpy Over SSL

SecuritySpy Setting Up SecuritySpy Over SSL SecuritySpy Setting Up SecuritySpy Over SSL Secure Sockets Layer (SSL) is a cryptographic protocol that provides secure communications on the internet. It uses two keys to encrypt data: a public key and

More information

Internet Appliance INTERNETpro Enterprise Stack : Performance & failover testing

Internet Appliance INTERNETpro Enterprise Stack : Performance & failover testing May 21 11 Aviation Parkway, Suite 4 Morrisville, NC 2756 919-38-28 Fax 919-38-2899 32 B Lakeside Drive Foster City, CA 9444 65-513-8 Fax 65-513-899 www.etestinglabs.com [email protected]

More information

How to: Install an SSL certificate

How to: Install an SSL certificate How to: Install an SSL certificate Introduction This document will talk you through the process of installing an SSL certificate on your server. Once you have approved the request for your certificate

More information

Installing Apache Software

Installing Apache Software Web Server Web Server Is a software application that uses the HyperText Transfer Protocol. Running on computer connected to Internet. Many Web Server software applications: Public domain software from

More information

GlobalSign Enterprise Solutions Google Apps Authentication User Guide

GlobalSign Enterprise Solutions Google Apps Authentication User Guide GlobalSign Enterprise Solutions Google Apps Authentication User Guide Using EPKI for Google Apps for Business Single Sign-on and Secure Document Sharing v.1.1 1 Table of Contents Table of Contents... 2

More information

OAMP vs. 0.3. Rev3rse - www.revunix.tk email: [email protected] January 2005

OAMP vs. 0.3. Rev3rse - www.revunix.tk email: Rev3rse@revunix.tk January 2005 OAMP vs. 0.3 Rev3rse - www.revunix.tk email: [email protected] January 2005 1 License Document underd BSD license Copyright (c) 2004-2005, Rev3rse All rights reserved. Redistribution and use in source

More information

Apache 2 mod_ssl by example

Apache 2 mod_ssl by example Apache 2 mod_ssl by example ApacheCon 2005 Mads Toftum [email protected] Agenda Getting started Certificates Access control Proxy solutions Performance Building mod_ssl The Apache 1.3 + mod_ssl way Download

More information

Apache and Virtual Hosts Exercises

Apache and Virtual Hosts Exercises Apache and Virtual Hosts Exercises Install Apache version 2 Apache is already installed on your machines, but if it was not you would simply do: # apt-get install apache2 As the root user. Once Apache

More information

Installing an SSL certificate on the InfoVaultz Cloud Appliance

Installing an SSL certificate on the InfoVaultz Cloud Appliance Installing an SSL certificate on the InfoVaultz Cloud Appliance This document reviews the prerequisites and installation of an SSL certificate for the InfoVaultz Cloud Appliance. Please note that the installation

More information

CASifier une application

CASifier une application JOSY «Authentification Centralisée» Paris, 6 mai 2010 CASifier une application Julien Marchal Consortium ESUP-Portail CASifier une application Introduction Moyens Module Apache CAS (mod_auth_cas) Librairie

More information

While are you still in Nagios working directory, create a new file for DNS servers monitoring

While are you still in Nagios working directory, create a new file for DNS servers monitoring NAGIOS MONITORING ----------------- On AUTH1 server 1. Go to Nagios working directory $ cd /usr/local/etc/nagios 2. Copy Nagios sample files To do this, make sure you are in Nagios working directory from

More information

CO 246 - Web Server Administration and Security. By: Szymon Machajewski

CO 246 - Web Server Administration and Security. By: Szymon Machajewski CO 246 - Web Server Administration and Security By: Szymon Machajewski CO 246 - Web Server Administration and Security By: Szymon Machajewski Online: < http://cnx.org/content/col11452/1.1/ > C O N N E

More information

Installing and Configuring Apache

Installing and Configuring Apache 3 Installing and Configuring Apache In this second of three installation-related chapters, you will install the Apache web server and familiarize yourself with its main components, including log and configuration

More information

Host your websites. The process to host a single website is different from having multiple sites.

Host your websites. The process to host a single website is different from having multiple sites. The following guide will help you to setup the hosts, in case you want to run multiple websites on your VPS. This is similar to setting up a shared server that hosts multiple websites, using a single shared

More information

Getting the software The Apache webserver can be downloaded free from the Apache website : http://www.apache.org/.

Getting the software The Apache webserver can be downloaded free from the Apache website : http://www.apache.org/. Basic installation of APACHE in Windows This chapter deals with the installation of Apache to be used for ABCD in a Windows environment. At least Windows NT, Windows 2000 or later versions are supposed

More information

DoD Public Key Enablement (PKE) Quick Reference Guide. Securing Apache HTTP with mod_ssl for Linux

DoD Public Key Enablement (PKE) Quick Reference Guide. Securing Apache HTTP with mod_ssl for Linux DoD Public Key Enablement (PKE) Quick Reference Guide Securing Apache HTTP with mod_ssl for Linux Contact: [email protected] URL: https://www.us.army.mil/suite/page/474113 This guide provides instructions

More information

esync - Receiving data over HTTPS

esync - Receiving data over HTTPS esync - Receiving data over HTTPS 1 Introduction Natively, the data transfer between ewon and esync is done over an HTTP link. However when esync is hosted on Internet, security must be taken in account

More information

Integrating Apache Web Server with Tomcat Application Server

Integrating Apache Web Server with Tomcat Application Server Integrating Apache Web Server with Tomcat Application Server The following document describes how to build an Apache/Tomcat server from all source code. The end goal of this document is to configure the

More information

C:\www\apache2214\conf\httpd.conf Freitag, 16. Dezember 2011 08:50

C:\www\apache2214\conf\httpd.conf Freitag, 16. Dezember 2011 08:50 This is the main Apache HTTP server configuration file. It contains the configuration directives that give the server its instructions. See for detailed information.

More information

HP Cloud Service Automation Deployment Architectures

HP Cloud Service Automation Deployment Architectures Technical white paper HP Cloud Service Automation Deployment Architectures Details of the content Table of contents Purpose... 2 Enterprise Deployment... 2 All-in-One CSA... 3 All-in-One CSA with remote

More information

Securing the OpenAdmin Tool for Informix web server with HTTPS

Securing the OpenAdmin Tool for Informix web server with HTTPS Securing the OpenAdmin Tool for Informix web server with HTTPS Introduction You can use HTTPS to protect the IBM OpenAdmin Tool (OAT) for Informix web server from eavesdropping, tampering, and message

More information

Configuring Ubuntu Server as a Firewall and Reverse Proxy for OWA 2007 Configuration Guide

Configuring Ubuntu Server as a Firewall and Reverse Proxy for OWA 2007 Configuration Guide Configuring Ubuntu Server as a Firewall and Reverse Proxy for OWA 2007 Configuration Guide Author: Andy Grogan Version 1.0 Location: http://www.telnetport25.com Contents Introduction... 3 Key Objectives:...

More information

Redmine Installation on Debian. v1.1

Redmine Installation on Debian. v1.1 Redmine Installation on Debian v1.1 Introduction 1. Objectives Have a fully functional Redmine installation on a dedicated server with good performance. The idea of this document came after an easy installation

More information

Matlab Web Server Installation and Configuration Guide

Matlab Web Server Installation and Configuration Guide We reserve all rights in this document and in the information contained therein. Reproduction,use or disclosure to third parties without express authority is strictly forbidden. ABB Process Industries;

More information

Install Apache on windows 8 Create your own server

Install Apache on windows 8 Create your own server Source: http://www.techscio.com/install-apache-on-windows-8/ Install Apache on windows 8 Create your own server Step 1: Downloading Apache Go to Apache download page and download the latest stable version

More information

Apache2 Configuration under Debian GNU/Linux. Apache2 Configuration under Debian GNU/Linux

Apache2 Configuration under Debian GNU/Linux. Apache2 Configuration under Debian GNU/Linux Apache2 Configuration under Debian GNU/Linux Contents Apache2 Configuration under Debian GNU/Linux Files and Directories in /etc/apache2 Tools Using mod_disk_cache SSL Enabling SSL Creating self-signed

More information

Apache Web Server Hardening

Apache Web Server Hardening 403_Ent_DMZ_AD.qxd 10/25/06 12:08 PM Page A:197 Appendix D Apache Web Server Hardening Solutions in this chapter: Understanding Common Vulnerabilities With Apache Web Server Patching and Securing the OS

More information

GlobalSign Solutions

GlobalSign Solutions GlobalSign Solutions SNI + CloudSSL Implementation Guide Hosting Multiple SSL on a Single IP Address Contents Introduction... 3 Why do hosting companies want SNI/CloudSSL?... 3 Configuration instructions...

More information

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center SVNManager Installation Documentation M. Verkerk Department of Public Health Erasmus MC University Medical Center Page 2 July 2005 Preface Version control in the context of this document is all about keeping

More information

How to setup HTTP & HTTPS Load balancer for Mediator

How to setup HTTP & HTTPS Load balancer for Mediator How to setup HTTP & HTTPS Load balancer for Mediator Setting up the Apache HTTP Load Balancer for Mediator This guide would help you to setup mediator product to run via the Apache Load Balancer in HTTP

More information

APACHE WEB SERVER. Andri Mirzal, PhD N28-439-03

APACHE WEB SERVER. Andri Mirzal, PhD N28-439-03 APACHE WEB SERVER Andri Mirzal, PhD N28-439-03 Introduction The Apache is an open source web server software program notable for playing a key role in the initial growth of the World Wide Web Typically

More information

WEB2CS INSTALLATION GUIDE

WEB2CS INSTALLATION GUIDE WEB2CS INSTALLATION GUIDE FOR XANDMAIL XandMail 32, rue de Cambrai 75019 PARIS - FRANCE Tel : +33 (0)1 40 388 700 - http://www.xandmail.com TABLE OF CONTENTS 1. INSTALLING WEB2CS 3 1.1. RETRIEVING THE

More information

Building a Secure RedHat Apache Server HOWTO

Building a Secure RedHat Apache Server HOWTO Table of Contents Building a Secure RedHat Apache Server HOWTO...1 Richard Sigle, [email protected] 1. Purpose/Scope of this Guide...1 2. Introduction to Secure Sockets Layer/Private Key Infrastructure...1

More information

How-to-Guide: Apache as Reverse Proxy for Fiori Applications

How-to-Guide: Apache as Reverse Proxy for Fiori Applications How-to-Guide: Apache as Reverse Proxy for Fiori Applications Active Global Support North America Document History: Document Version Authored By Description 1.0 Kiran Kola Architect Engineer 2 www.sap.com

More information

Installing and Configuring Apache

Installing and Configuring Apache CHAPTER 3 Installing and Configuring Apache In this second of three installation-related chapters, you will install the Apache web server and familiarize yourself with its main components, including log

More information

Parallels Panel. Administrator's Guide to Configuring Apache on Servers Running Parallels Plesk Panel 10. Revision 1.0

Parallels Panel. Administrator's Guide to Configuring Apache on Servers Running Parallels Plesk Panel 10. Revision 1.0 Parallels Panel Administrator's Guide to Configuring Apache on Servers Running Parallels Plesk Panel 10 Revision 1.0 Copyright Notice Parallels Holdings, Ltd. c/o Parallels International GMbH Vordergasse

More information

Presented by Mark Bixby [email protected]. Solution Symposium 2002

Presented by Mark Bixby mark_bixby@hp.com. Solution Symposium 2002 hp mpe/ix Presented by Mark Bixby [email protected] 2002 Page 1 prerequisite knowledge General Apache knowledge POSIX shell basics Hierarchical File System basics Page 2 A.03.00 product overview A.01.00

More information

CTIS486 Midterm Solution 23/07/2012 - Akgül

CTIS486 Midterm Solution 23/07/2012 - Akgül Surname, Name: Section: Student No: Closed Book, closed note exam. Show your work! we must follow your reasoning. You are required to write down commands with necessary arguments and options. Give the

More information

Created by : Ashish Shah, J.M. PATEL COLLEGE UNIT-5 CHAP-1 CONFIGURING WEB SERVER

Created by : Ashish Shah, J.M. PATEL COLLEGE UNIT-5 CHAP-1 CONFIGURING WEB SERVER UNIT-5 CHAP-1 CONFIGURING WEB SERVER 1 APACHE SERVER The Apache Web server is the most popular Web server on the planet. Individuals and organizations use Linux primarily to create an inexpensive and stable

More information

Apache Usage. Apache is used to serve static and dynamic content

Apache Usage. Apache is used to serve static and dynamic content Apache Web Server One of many projects undertaken by the Apache Foundation It is most popular HTTP server. Free Free for commercial and private use Source code is available (open-source) Portable Available

More information

A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of

A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of A Beginner's Guide to Setting Up A Web Hosting System (Or, the design and implementation of a system for the worldwide distribution of pictures of cats.) Yes, you can download the slides http://inthebox.webmin.com/files/beginners-guide.pdf

More information

1. Configuring Apache2 Load Balancer with failover mechanism

1. Configuring Apache2 Load Balancer with failover mechanism 1. Configuring Apache2 Load Balancer with failover mechanism node01 Messaging Part 1 Instance 1 for e.g.: 192.168.0.140 192.168.0.2 node02 Messaging Part 1 Instance 2 for e.g.: 192.168.0.90 Configuring

More information

An Introduction to Securing Linux with Apache, ProFTPd, and Samba by Zach Riggle

An Introduction to Securing Linux with Apache, ProFTPd, and Samba by Zach Riggle Originally published in issue 1 of (IN)SECURE Magazine, get it for free in PDF format at www.insecuremag.com An Introduction to Securing Linux with Apache, ProFTPd, and Samba by Zach Riggle While the vast

More information

Apache based WebDAV Server with LDAP and SSL

Apache based WebDAV Server with LDAP and SSL Saqib Ali [email protected] Revision History Revision v3.4 2002 06 29 Revised by: sa Added the section "How to generate a CSR" Revision v3.3 2002 04 14 Revised by: sa Add the section of DAV server management.

More information

Single sign-on websites with Apache httpd: Integrating with Active Directory for authentication and authorization

Single sign-on websites with Apache httpd: Integrating with Active Directory for authentication and authorization Single sign-on websites with Apache httpd: Integrating with Active Directory for authentication and authorization Michael Heldebrant Solutions Architect, Red Hat Outline Authentication overview Basic LDAP

More information

Acronis Backup Cloud APS 2.0 Deployment Guide

Acronis Backup Cloud APS 2.0 Deployment Guide Acronis Backup Cloud APS 2.0 Deployment Guide Table of contents 1 About this guide...3 2 Audience...3 3 Terms and abbreviations...3 4 General architecture and services...3 5 Deployment procedure...4 5.1

More information

http://cnmonitor.sourceforge.net CN=Monitor Installation and Configuration v2.0

http://cnmonitor.sourceforge.net CN=Monitor Installation and Configuration v2.0 1 Installation and Configuration v2.0 2 Installation...3 Prerequisites...3 RPM Installation...3 Manual *nix Installation...4 Setup monitoring...5 Upgrade...6 Backup configuration files...6 Disable Monitoring

More information

Installation. Installation centreon + nagios3 1 25 mai 2009 1.1 LISTE DES PRE-REQUIS. Nagios/centreon. 1.1.1 Paquets divers. 1.1.

Installation. Installation centreon + nagios3 1 25 mai 2009 1.1 LISTE DES PRE-REQUIS. Nagios/centreon. 1.1.1 Paquets divers. 1.1. Installation 1.1 LISTE DES PRE-REQUIS 1.1.1 Paquets divers tofrodos mailx lsb-release build-essential 1.1.2 Compilateurs : 1.1.3 Serveur Web et php5 apache2 php5 php5-mysql php-pear php5-ldap php5-snmp

More information

TODAY web servers become more and more

TODAY web servers become more and more WEB SERVER PERFORMANCE ANALYSIS, LIA PROJECT, 2ND APRIL 2010 1 Web server performance analysis Sebastian Dabkiewicz [email protected] Abstract Web servers become more and more important for company

More information

httpd Apache Web Server

httpd Apache Web Server Chapter 36 httpd Apache Web Server In this chapter, we will show how to set up a web server running virtual domains and dynamic CGI web pages. HTML is not covered, and you are expected to have some understanding

More information

Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2

Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2 Installing Rails 2.3 Under CentOS/RHEL 5 and Apache 2.2 Scott Taylor Tailor Made Software July 24, 2011 Version 1.2 1.0 Introduction Ruby On Rails (aka just Rails ) is a modern scripting system that allows

More information

The Web Server. Instructor: Yi-Shin Chen Office: EECS 3201 Email: [email protected] Office Hour: Tu. 1-2PM, Th. 3-4pm

The Web Server. Instructor: Yi-Shin Chen Office: EECS 3201 Email: yishin@cs.nthu.edu.tw Office Hour: Tu. 1-2PM, Th. 3-4pm ISA5575 Web Techniques and Applications The Web Server Instructor: Yi-Shin Chen Office: EECS 3201 Email: [email protected] Office Hour: Tu. 1-2PM, Th. 3-4pm Client/Server Architecture Model Terminals

More information

Real Vision Software, Inc.

Real Vision Software, Inc. Real Vision Software, Inc. Configuring an IBM i host for SSL These steps take you through configuring an IBM i host to run Secure Sockets Layer (SSL) as a self-signed Certificate Authority (CA). The Digital

More information

Apache Web Server Complete Guide Dedoimedo

Apache Web Server Complete Guide Dedoimedo Apache Web Server Complete Guide Dedoimedo www.dedoimedo.com Contents 1 Introduction 15 2 Basic Setup 16 2.1 Verify installation......................... 16 2.2 Package files............................

More information

Rails Application Deployment. July 2007 @ Philly on Rails

Rails Application Deployment. July 2007 @ Philly on Rails Rails Application Deployment July 2007 @ Philly on Rails What Shall We Deploy Tonight? Blogging/publishing system Standard Rails application Ships with gems in vendor directory Easy rake task for database

More information

FusionForge Manual by Tom Copeland, Roland Mas, Ken McCullagh, Tim Perdue, Guillaume Smet, and Reinhard Spisser

FusionForge Manual by Tom Copeland, Roland Mas, Ken McCullagh, Tim Perdue, Guillaume Smet, and Reinhard Spisser FusionForge Manual Tom Copeland Roland Mas Ken McCullagh Tim Perdue Guillaume Smet Reinhard Spisser FusionForge

More information

Thursday, February 7, 2013. DOM via PHP

Thursday, February 7, 2013. DOM via PHP DOM via PHP Plan PHP DOM PHP : Hypertext Preprocessor Langage de script pour création de pages Web dynamiques Un ficher PHP est un ficher HTML avec du code PHP

More information

Enterprise SSL Support

Enterprise SSL Support 01 Enterprise SSL Support This document describes the setup of SSL (Secure Sockets Layer) over HTTP for Enterprise clients, servers and integrations. 1. Overview Since the release of Enterprise version

More information

Setting Up A Nagios Monitoring System Warren Block, May 2005

Setting Up A Nagios Monitoring System Warren Block, May 2005 Setting Up A Nagios Monitoring System Warren Block, May 2005 What Is Nagios? NAGIOS (na gee ose) is a system that will monitor the status of other network computers or components. It can watch your network

More information

Apache & Virtual Hosts & mod_rewrite

Apache & Virtual Hosts & mod_rewrite Apache & Virtual Hosts & mod_rewrite Jonathan Brewer Network Startup Resource Center [email protected] These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license

More information

CC ICT-SUD. Setting up and integrate Apache, MySQL and PHP on a Linux system

CC ICT-SUD. Setting up and integrate Apache, MySQL and PHP on a Linux system LAMP CC ICT-SUD Setting up and integrate Apache, MySQL and PHP on a Linux system Installation Simple Alternative (for development/testing only): Xampp I will assume MySQL is already installed and configured

More information

Setup a Virtual Host/Website

Setup a Virtual Host/Website Setup a Virtual Host/Website Contents Goals... 2 Setup a Website in CentOS... 2 Create the Document Root... 2 Sample Index File... 2 Configuration... 3 How to Check If Your Website is Working... 5 Setup

More information

cpanel Structure Details for the complete structure of cpanel by Kevin Asklund.

cpanel Structure Details for the complete structure of cpanel by Kevin Asklund. cpanel Structure Details for the complete structure of cpanel by Kevin Asklund. The cpanel and WebHost Manager package includes: * cpanel - Domain Owner Control * WebHost Manager - Server Administration

More information

Setting up a Web Server using Raspbian Wheezy on the Raspberry Pi ( Kenneth A Spencer)

Setting up a Web Server using Raspbian Wheezy on the Raspberry Pi ( Kenneth A Spencer) Setting up a Web Server using Raspbian Wheezy on the Raspberry Pi ( Kenneth A Spencer) To use the Raspbian Wheezy distribution of the Debian Linux release of Wheezy, for the Raspberry Pi, as a web server

More information

Setting up an Apache Web Server for Greenstone 2 Walkthrough

Setting up an Apache Web Server for Greenstone 2 Walkthrough Setting up an Apache Web Server for Greenstone 2 Walkthrough From GreenstoneWiki Setting up an Apache web server to work with Greenstone 2: [edit] #Installing the Apache web server on Linux and MacOS (Leopard)

More information

APACHE HTTP SERVER 2.2.8

APACHE HTTP SERVER 2.2.8 LEVEL 3 APACHEHTTP APACHE HTTP SERVER 2.2.8 HTTP://HTTPD.APACHE.ORG SUMMARY Apache HTTP Server is an open source web server application regarded as one of the most efficient, scalable, and feature-rich

More information

ColdFusion 11 Lockdown Guide. Pete Freitag

ColdFusion 11 Lockdown Guide. Pete Freitag ColdFusion 11 Lockdown Guide Pete Freitag Contents Introduction... 6 Default File Paths and Usernames... 6 Operating Systems and Web Servers... 6 ColdFusion Version... 6 Scope of Document... 6 Applying

More information

Virtual Host (Web Server)

Virtual Host (Web Server) Virtual Host (Web Server) 1 Muhammad Zen Samsono Hadi, ST. MSc. Lab. Komunikasi Digital Gedung D4 Lt. 1 EEPIS-ITS Virtual Networking implementation 2 Power consumption comparison 3 VS 5 Physical Virtual

More information

MINIMUM INSTALLATION REQUIREMENTS Processor: RAM: Hard disk: Operating system: Others: Pentium 200 MHz. 64 MB. 80 MB free space. One of the following: Red Hat (version 7.0, 7.1, 7.2, 7.3, 8.0, 9 or Enterprise

More information

Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server

Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server Sun Cluster 2.2 7/00 Data Services Update: Apache Web Server Sun Microsystems, Inc. 901 San Antonio Road Palo Alto, CA 94303-4900 U.S.A. 650-960-1300 Part No. 806-6121 July 2000, Revision A Copyright 2000

More information

APACHE. An HTTP Server. Reference Manual

APACHE. An HTTP Server. Reference Manual APACHE An HTTP Server Reference Manual David Robinson and the Apache Group, 1995. http://www.apache.org/ All rights reserved. This product or documentation is protected by copyright and is distributed

More information

TP : Configuration de routeurs CISCO

TP : Configuration de routeurs CISCO TP : Configuration de routeurs CISCO Sovanna Tan Novembre 2010 révision décembre 2012 1/19 Sovanna Tan TP : Routeurs CISCO Plan 1 Présentation du routeur Cisco 1841 2 Le système d exploitation /19 Sovanna

More information

Ultimate htaccess Article

Ultimate htaccess Article Web htaccesselite.com askapache.com Ultimate htaccess Article Popular Posts Ultimate htaccess Article Heres my list of the ultimate htaccess code snippets and examples that I use all the time. I tried

More information

What will be supplied with chemoventory package?

What will be supplied with chemoventory package? Requirements... 1 What will be supplied with chemoventory package?... 1 Files structure of /chemoventory... 2 Download PHP, MySQL and Zend optimizer programs... 3 Apache Installation... 3 Apache installation

More information

Apache SSL Certificate Deployment Guide

Apache SSL Certificate Deployment Guide Apache SSL Certificate Deployment Guide 沃 通 电 子 认 证 服 务 有 限 公 司 WoSignCA Limited All Rights Reserved Content 1.The environment for installing the SSL certificate... 3 1.1 Brief introduction of SSL certificate

More information

Repris de : https://thomas-leister.de/internet/sharelatex-online-latex-editor-auf-ubuntu-12-04-serverinstallieren/ Version Debian (de base)

Repris de : https://thomas-leister.de/internet/sharelatex-online-latex-editor-auf-ubuntu-12-04-serverinstallieren/ Version Debian (de base) Repris de : https://thomas-leister.de/internet/sharelatex-online-latex-editor-auf-ubuntu-12-04-serverinstallieren/ Version Debian (de base) Démarre un shell root $ sudo -s Installation des paquets de base

More information

Audit de sécurité avec Backtrack 5

Audit de sécurité avec Backtrack 5 Audit de sécurité avec Backtrack 5 DUMITRESCU Andrei EL RAOUSTI Habib Université de Versailles Saint-Quentin-En-Yvelines 24-05-2012 UVSQ - Audit de sécurité avec Backtrack 5 DUMITRESCU Andrei EL RAOUSTI

More information

ANECDOTAL DEVELOPMENT & DEPLOYMENT. A Case-Study in PHP Project Workflow Lone Star PHP - June 2011 Brian Blood

ANECDOTAL DEVELOPMENT & DEPLOYMENT. A Case-Study in PHP Project Workflow Lone Star PHP - June 2011 Brian Blood ANECDOTAL DEVELOPMENT & DEPLOYMENT A Case-Study in PHP Project Workflow Lone Star PHP - June 2011 Brian Blood PHP WEB DEVELOPMENT Specify Plan Write Test Approve Log Repeat PHP WEB DEPLOYMENT Stage Deploy

More information

CA Workload Automation DE

CA Workload Automation DE CA Workload Automation DE Web Client Implementation Guide r11.3 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation

More information

Knowledge is Power. He who gets wisdom loves his own soul; he who cherishes understanding prospers. (Proverbs 19:8)

Knowledge is Power. He who gets wisdom loves his own soul; he who cherishes understanding prospers. (Proverbs 19:8) Knowledge is Power He who gets wisdom loves his own soul; he who cherishes understanding prospers. (Proverbs 19:8) Monitoring Tool -MRTG on CentOS 6.4 Jeong Chul tland12.wordpress.com www.youtube.com/user/tland12

More information

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System

SIMIAN systems. Setting up a Sitellite development environment on Mac OS X. Sitellite Content Management System Setting up a Sitellite development environment on Mac OS X Sitellite Content Management System Introduction Mac OS X is a great platform for web application development, and now with tools like VMWare

More information

Implementing a Weblogic Architecture with High Availability

Implementing a Weblogic Architecture with High Availability Implementing a Weblogic Architecture with High Availability Contents 1. Introduction... 3 2. Topology... 3 2.1. Limitations... 3 2.2. Servers diagram... 4 2.3. Weblogic diagram... 4 3. Components... 6

More information

Web Server using Apache. Heng Sovannarith [email protected]

Web Server using Apache. Heng Sovannarith heng_sovannarith@yahoo.com Web Server using Apache Heng Sovannarith [email protected] Introduction The term web server can refer to either the hardware (the computer) or the software (the computer application) that helps

More information

Secure Configuration of Apache in the Mac OS X Environment

Secure Configuration of Apache in the Mac OS X Environment Interested in learning more about security? SANS Institute InfoSec Reading Room This paper is from the SANS Institute Reading Room site. Reposting is not permitted without express written permission. Secure

More information