<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 8:53 AM, Anish Mangal <span dir="ltr"><<a href="mailto:anish@activitycentral.com" target="_blank">anish@activitycentral.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On Fri 27 Apr 2012 03:26:52 AM IST, Ajay Garg wrote:<br>
> diff --git a/config/dextrose3-common.ini b/config/dextrose3-common.ini<br>
> index 02b67f7..e5236a6 100644<br>
> --- a/config/dextrose3-common.ini<br>
> +++ b/config/dextrose3-common.ini<br>
> @@ -40,6 +40,8 @@ dx3_common_packages_add=<br>
>       telepathy-idle,<br>
>       telepathy-sofiasip,<br>
>       x11vnc,<br>
> +     httpd,<br>
> +     chkconfig,<br>
><br>
<br>
</div>* chkconfig is already present in dextrose3-common.ini<br>
* Should add a comment about why we are adding these packages. </blockquote><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div><div class="h5"><br>
>  ; accessibility packages<br>
>  ; Already added as dependencies for sugar-control-accessibility<br>
> diff --git a/modules/base/kspost.10.core.inc b/modules/base/kspost.10.core.inc<br>
> index 98d374a..43611f6 100644<br>
> --- a/modules/base/kspost.10.core.inc<br>
> +++ b/modules/base/kspost.10.core.inc<br>
> @@ -215,3 +215,44 @@ echo "keycode 224 = F13" >> $filename<br>
>  filename="/usr/share/X11/xkb/keycodes/evdev"<br>
>  SearchAndDeleteLineContainingRegex $filename " *<LWIN> = 133; *"<br>
>  SearchAndReplaceRegex $filename "<CAPS> = 66;" "<CAPS> = 133;"<br>
> +<br>
> +# uy#1769 : Set up "httpd", to host "WebDAV" shares.<br>
> +filename="/etc/httpd/conf/httpd.conf"<br>
> +SearchAndReplaceRegex $filename "#<VirtualHost \*:80>" "<VirtualHost \*:80>"<br>
> +SearchAndDeleteLineContainingRegex $filename "#<\/VirtualHost>"<br>
> +<br>
> +mkdir -p /var/www/web1/web<br>
> +mkdir -p /var/www/web1/web/.Sugar-Metadata<br>
> +<br>
> +rm /etc/httpd/logs<br>
> +mkdir /etc/httpd/logs<br>
> +<br>
> +cat << EOF >> /etc/httpd/conf/httpd.conf<br>
> +        DocumentRoot /var/www/web1/web/<br>
> +        <Directory /var/www/web1/web/><br>
> +                Options Indexes MultiViews<br>
> +                AllowOverride None<br>
> +                Order allow,deny<br>
> +                allow from all<br>
> +        </Directory><br>
> +<br>
> +        Alias /webdav /var/www/web1/web<br>
> +<br>
> +        <Location /webdav><br>
> +            DAV On<br>
> +            AuthType Basic<br>
> +            AuthName "webdav"<br>
> +            AuthUserFile /var/www/web1/passwd.dav<br>
> +            Require valid-user<br>
> +        </Location><br>
> +</VirtualHost><br>
> +<br>
> +EOF<br>
> +<br>
> +<br>
> +chmod -R 0777 /var/www/web1/web<br>
> +chmod -R 0777 /var/www/web1/web/.Sugar-Metadata<br>
> +htpasswd -bc /var/www/web1/passwd.dav test olpc<br>
> +/sbin/chkconfig httpd --levels 5 on<br>
> +<br>
> +# uy#1769 customizations end.<br>
<br>
</div></div>Dont need to resend this patch with the corrections, I'll make the<br>
changes while pushing.<br></blockquote><div><br>Thanks Anish.<br><br>Regards,<br>Ajay<br><br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
iQEcBAEBAgAGBQJPmhEyAAoJEBoxUdDHDZVpCtQH/iYX3vv5yCgp0KmGVY+lgfbo<br>
40jo8I9p1LC8d2KRaEHDpCF9czydPVuiFgQTgObiC0JC9amzpIIgE2Ynix71QNOm<br>
p3gUlCQ86vLR5voGkOluZfXBwB9k16r5WPS+wAwfBHVxXEGmGpvKCaeNgoLJarRf<br>
+YsD98zMONXT06SY6T3ohRUOsD3mvBJNDDcKntPFk0m6FN3oxxMUUWd9hVMRr1GO<br>
RqP2WIEB7JzDTcOiGa+TNEHIgkFNAV/HZSu3uDaGd6N0RT617f9FDbgljKu7xmya<br>
AF43ksvsFYPPv3MEjDmHHEvK9qowt1GB26tpnpc1d73vekM0t07qfll/V2FsOus=<br>
=YFMs<br>
-----END PGP SIGNATURE-----<br>
<br>
</blockquote></div><br></div>