Re: Inconsistencies.. possible bug solutions?

"Luis M" <[email protected]> Tue, 02 Dec 2003 15:31:22 -0500
Newsgroups gmane.comp.cms.phpslash.devel
Message-ID <[email protected]>
[snip]
> > Maybe we should set the config.php file to use "_PSL['base']/tmp" 
>instead
> > of "updir"... I think it sounds more reasonable. And put a comment
> > specifying that you need to create a directory that its writable by the
> > webserver user, or by everybody with permissions "1777" (chmod 1777 
>tmp).
> >
>
>Concur but I would rather it be: _PSL['dir.include'] .'/tmp'.

fair enough.

I'm trying to reuse as much code (for different sites using phpslash on the 
same server) as possible. The "include" directory is prime target for this 
(sharing). I guess that php4 keeps the session files unique and organize and 
we don't have to worry much about different sites keeping different sessions 
in the same directory.

>Here is the sf.net doc:
>
><http://sourceforge.net/docman/display_doc.php?docid=14267&group_id=1#webphpsession>
>
> > What do you think?
> >
>
>I've been thinking about supplying an example htaccess file with these
>type entries commented.  Maybe even a couple example mod_rewrite rules.

IMHO htaccess involves having root in a given server (or being able to 
modify the webserver configuration somehow) for those servers that don't 
allow it by default (I think sf does or at least I got a 500 error when I 
try to do that).
In general, the code that's in config.php does the trick without needing an 
htaccess, and it's possible more portable between platforms (for those who 
dare to use phpslash on other platforms). I guess that you could include 
that for as long as there is an option to do the same things from 
config.php.

The mod_rewrite rules are welcome though -- we need examples in that area.

----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com

[email protected]

"...The Mac does this so smoothly, it feels like an extension of your mind." 
- Paula Speer, MacWorld Magazine 2003-04

Public signature: http://www.latinomixed.com/lems1/public-a.asc

_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous ! 
http://search.msn.fr/worldwide.asp



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/