Mailing List Archive

Apache Debian Virtual host setup
Goodday
I followed the howto for setting up davical and when I type in the
address I do not get davical.

tail /var/log/apache2/error.log reported

[Sun Mar 18 22:06:00 2012] [notice] Apache/2.2.22 (Debian)
mod_fcgid/2.3.6 PHP/5.3.10-1 configured -- resuming normal operations
[Sun Mar 18 22:07:53 2012] [error] [client 192.168.1.2] File does not
exist: /var/www/davical.example.net/

I create file /var/www/davical.example.net/ and place some information
in it and that is what is returned in the browser.

/etc/apache2/sites-available/davical

Virtual Host def for Debian packaged DAViCal
<VirtualHost 192.168.1.2>
DocumentRoot /usr/share/davical/htdocs
DirectoryIndex index.php index.html
ServerName davical.example.net
ServerAlias calendar.example.net
Alias /images/ /usr/share/davical/htdocs/images/
<Directory /usr/share/davical/htdocs/>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
AcceptPathInfo On
php_value include_path /usr/share/awl/inc
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value error_reporting "E_ALL & ~E_NOTICE"
php_value default_charset "utf-8"
php_admin_value open_basedir
/usr/share/davical:/usr/share/awl/inc:/etc/davical
</VirtualHost>

php_admin_value open_basedir
/usr/share/davical:/usr/share/awl/inc:/etc/davical
I saw this in the wiki and added it here. It did not make a difference.
At this point I am not sure what to do.
Any advice would be wonderful
Thanks
Geordie


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general
Re: Apache Debian Virtual host setup [ In reply to ]
Any reference to needing an open_basedir setting with DAViCal is almost
certainly wrong.

I think you need to change:
<VirtualHost 192.168.1.2>

to:
<VirtualHost *:80>

Or something like that. The point is that you are trying to set the
DocumentRoot for the website to be the DAViCal code, so if you place
files in /var/www/ and can see them in your browser then you have not
changed the DocumentRoot to point to DAViCal code.

Cheers,
Andrew.

On Mon, 2012-03-19 at 22:04 -0400, Geordie wrote:
> Goodday
> I followed the howto for setting up davical and when I type in the
> address I do not get davical.
>
> tail /var/log/apache2/error.log reported
>
> [Sun Mar 18 22:06:00 2012] [notice] Apache/2.2.22 (Debian)
> mod_fcgid/2.3.6 PHP/5.3.10-1 configured -- resuming normal operations
> [Sun Mar 18 22:07:53 2012] [error] [client 192.168.1.2] File does not
> exist: /var/www/davical.example.net/
>
> I create file /var/www/davical.example.net/ and place some information
> in it and that is what is returned in the browser.
>
> /etc/apache2/sites-available/davical
>
> Virtual Host def for Debian packaged DAViCal
> <VirtualHost 192.168.1.2>
> DocumentRoot /usr/share/davical/htdocs
> DirectoryIndex index.php index.html
> ServerName davical.example.net
> ServerAlias calendar.example.net
> Alias /images/ /usr/share/davical/htdocs/images/
> <Directory /usr/share/davical/htdocs/>
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> AcceptPathInfo On
> php_value include_path /usr/share/awl/inc
> php_value magic_quotes_gpc 0
> php_value register_globals 0
> php_value error_reporting "E_ALL & ~E_NOTICE"
> php_value default_charset "utf-8"
> php_admin_value open_basedir
> /usr/share/davical:/usr/share/awl/inc:/etc/davical
> </VirtualHost>
>
> php_admin_value open_basedir
> /usr/share/davical:/usr/share/awl/inc:/etc/davical
> I saw this in the wiki and added it here. It did not make a difference.
> At this point I am not sure what to do.
> Any advice would be wonderful
> Thanks
> Geordie
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Davical-general mailing list
> Davical-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/davical-general
>

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Open Source: the difference between trust and antitrust
------------------------------------------------------------------------