On Tue, February 8, 2005 2:35 pm, Keith Duzenski said:
>      Well, i figured my problem out.  But i thought i'd let everyone
> know just  so if you run into it in the future. 
>   ok my problem (this is on a windows box)
>
> "Error opening ../data/default_pref
>  Could not create initial preference file!
>  .../c:\inetpub\sdata/ should be writable by user httpd
>  Please contact your system administrator and report this error"
>   This was because of the leading ../ that gets appended. and the trailing
>  \ that gets appended as well.
>   If you are trying to set up the path for your data and attachments you
> can't have the full path.  it should look like this
>   $data_dir = SM_PATH . 'sdata/';   $attachment_dir = SM_PATH .
> 'sattach/';
>   Now the only problem with this, is that it  specifally says in the
> install instructions that the  data folder is going to be containing
> senstive data  and should not be kept in the web accesibale SM
> folder.  I'm just happy it works and hope this helps  someone in
> the future.

What happens if you change all document root path references in the ISS
snap-in to be c:/inetpub/sdata instead of c:\inetpub\sdata. Windows
probably wont complain.

I use apache on a windows box and found I had problems if I mixed
backslashes with forwardslashes so always use forwardslashes.

Gabriel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to