Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DAViCal: General
Re: Apache Debian Virtual host setup
 

Index | Next | Previous | View Flat


andrew at morphoss

Apr 27, 2012, 1:41 AM


Views: 505
Permalink
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 [at] lists
> https://lists.sourceforge.net/lists/listinfo/davical-general
>

--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
Open Source: the difference between trust and antitrust
------------------------------------------------------------------------
Attachments: signature.asc (0.82 KB)

Subject User Time
Apache Debian Virtual host setup geordi at kos Mar 19, 2012, 7:04 PM
    Re: Apache Debian Virtual host setup andrew at morphoss Apr 27, 2012, 1:41 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.