Re: UserDir Installation

2007-07-09 Thread Jonathan Langevin
btw, you might should try cake 1.2 and see if that gives you the same
problems

On 7/9/07, Jonathan Langevin <[EMAIL PROTECTED]> wrote:
>
> I thought about the variables in index.php first, but that var. in
> core.php seems to be the best bet, dunno if it'll screw up the pretty urls
> for ya tho
>
> On 7/9/07, Scott Sharkey <[EMAIL PROTECTED]> wrote:
> >
> >
> > Jonathan Langevin wrote:
> > > Hey Scott, just saw the other posts to this thread, sorry about how
> > > oblivious the other users seem to Apache :-)
> > >
> > > maybe try editing app/config/core.php:
> >
> > Well, that's certainly worth a try.  I've tried modifying the
> > WEBROOT_DIR, without success.  I may have to try every variable in the
> > CORE and INDEX files, but I will figure it out.  I was hoping someone
> > else had already done so.
> >
> > I appreciate the attempts to help, but sometimes it's better to say
> > nothing than to guess.  Especially since I thought I made it pretty
> > clear from my message that I had tried a fair amount of stuff, and
> > pretty much knew what I was doing ... oh well.
> >
> > THANKS!!
> > -Scott
> >
> > >
> > > /**
> > >  * If you do not have mod rewrite on your system
> > >  * or if you prefer to use CakePHP pretty urls.
> > >  * uncomment the line below.
> > >  * Note: If you do have mod rewrite but prefer the
> > >  * CakePHP pretty urls, you also have to remove the
> > >  * .htaccess files
> > >  * release/.htaccess
> > >  * release/app/.htaccess
> > >  * release/app/webroot/.htaccess
> > >  */
> > > //define ('BASE_URL', env('SCRIPT_NAME'));
> > >
> > >
> > >
> > >
> > > On 7/7/07, * Scott Sharkey* <[EMAIL PROTECTED]
> > > > wrote:
> > >
> > >
> > > Hi All,
> > >
> > > I'm trying a "top-level" installation into an apache
> > UserDir.  I've read
> > > the documentation, which says to put a RewriteBase directive in
> > the
> > > /~user/public_html/.htaccess file.  This does not seem to be
> > working
> > > for
> > > me.  Here's what I know:
> > >
> > > 1) Mod_Rewrite is loaded and working fine on the server.  I have a
> > cake
> > > install in the main server root which is working fine.
> > >
> > > 2) the server is http://devel.mysite.com, and that top level is a
> > cake
> > > app.
> > >
> > > 3) I'm trying to create a 
> > > http://devel.mysite.com/~ssharkeywhich
> > >  is a
> > > copy of the above site (for devel/debugging).
> > >
> > > 4) I have unpacked a clean cake 1.1.15.5144 into
> > > /home/ssharkey/public_html, and have Apache UserDir public_html
> > > configured.
> > >
> > > 5) If I put an index.php in that /home/ssharkey/public_html,
> > everthing
> > > works as expected.
> > >
> > > 6) I have added RewriteBase /~ssharkey as the 2nd line in
> > > /home/ssharkey/public_html/.htaccess (just after RewriteEngine
> > on).
> > >
> > > This appears to be serving the raw content, but the css file is
> > not
> > > being found, nor are any images or cake-generated links on the
> > page.
> > > The apache log shows requests for /css/cake.generic.css, and files
> > > in /img.  I would think these should be
> > /~ssharkey/css/cake.generic.css,
> > > etc.
> > >
> > > Any suggestions would be welcomed!
> > >
> > > -scott
> > >
> > >
> > > >
> >
> >
> > > >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-09 Thread Jonathan Langevin
I thought about the variables in index.php first, but that var. in
core.phpseems to be the best bet, dunno if it'll screw up the pretty
urls for ya tho

On 7/9/07, Scott Sharkey <[EMAIL PROTECTED]> wrote:
>
>
> Jonathan Langevin wrote:
> > Hey Scott, just saw the other posts to this thread, sorry about how
> > oblivious the other users seem to Apache :-)
> >
> > maybe try editing app/config/core.php:
>
> Well, that's certainly worth a try.  I've tried modifying the
> WEBROOT_DIR, without success.  I may have to try every variable in the
> CORE and INDEX files, but I will figure it out.  I was hoping someone
> else had already done so.
>
> I appreciate the attempts to help, but sometimes it's better to say
> nothing than to guess.  Especially since I thought I made it pretty
> clear from my message that I had tried a fair amount of stuff, and
> pretty much knew what I was doing ... oh well.
>
> THANKS!!
> -Scott
>
> >
> > /**
> >  * If you do not have mod rewrite on your system
> >  * or if you prefer to use CakePHP pretty urls.
> >  * uncomment the line below.
> >  * Note: If you do have mod rewrite but prefer the
> >  * CakePHP pretty urls, you also have to remove the
> >  * .htaccess files
> >  * release/.htaccess
> >  * release/app/.htaccess
> >  * release/app/webroot/.htaccess
> >  */
> > //define ('BASE_URL', env('SCRIPT_NAME'));
> >
> >
> >
> >
> > On 7/7/07, * Scott Sharkey* <[EMAIL PROTECTED]
> > > wrote:
> >
> >
> > Hi All,
> >
> > I'm trying a "top-level" installation into an apache UserDir.  I've
> read
> > the documentation, which says to put a RewriteBase directive in the
> > /~user/public_html/.htaccess file.  This does not seem to be working
> > for
> > me.  Here's what I know:
> >
> > 1) Mod_Rewrite is loaded and working fine on the server.  I have a
> cake
> > install in the main server root which is working fine.
> >
> > 2) the server is http://devel.mysite.com, and that top level is a
> cake
> > app.
> >
> > 3) I'm trying to create a http://devel.mysite.com/~ssharkey which is
> a
> > copy of the above site (for devel/debugging).
> >
> > 4) I have unpacked a clean cake 1.1.15.5144 into
> > /home/ssharkey/public_html, and have Apache UserDir public_html
> > configured.
> >
> > 5) If I put an index.php in that /home/ssharkey/public_html,
> everthing
> > works as expected.
> >
> > 6) I have added RewriteBase /~ssharkey as the 2nd line in
> > /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
> >
> > This appears to be serving the raw content, but the css file is not
> > being found, nor are any images or cake-generated links on the page.
> > The apache log shows requests for /css/cake.generic.css, and files
> > in /img.  I would think these should be
> /~ssharkey/css/cake.generic.css,
> > etc.
> >
> > Any suggestions would be welcomed!
> >
> > -scott
> >
> >
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-09 Thread Scott Sharkey

Jonathan Langevin wrote:
> Hey Scott, just saw the other posts to this thread, sorry about how 
> oblivious the other users seem to Apache :-)
> 
> maybe try editing app/config/core.php:

Well, that's certainly worth a try.  I've tried modifying the 
WEBROOT_DIR, without success.  I may have to try every variable in the 
CORE and INDEX files, but I will figure it out.  I was hoping someone 
else had already done so.

I appreciate the attempts to help, but sometimes it's better to say 
nothing than to guess.  Especially since I thought I made it pretty 
clear from my message that I had tried a fair amount of stuff, and 
pretty much knew what I was doing ... oh well.

THANKS!!
-Scott

> 
> /**
>  * If you do not have mod rewrite on your system
>  * or if you prefer to use CakePHP pretty urls.
>  * uncomment the line below.
>  * Note: If you do have mod rewrite but prefer the
>  * CakePHP pretty urls, you also have to remove the
>  * .htaccess files
>  * release/.htaccess
>  * release/app/.htaccess
>  * release/app/webroot/.htaccess
>  */
> //define ('BASE_URL', env('SCRIPT_NAME'));
> 
> 
> 
> 
> On 7/7/07, * Scott Sharkey* <[EMAIL PROTECTED] 
> > wrote:
> 
> 
> Hi All,
> 
> I'm trying a "top-level" installation into an apache UserDir.  I've read
> the documentation, which says to put a RewriteBase directive in the
> /~user/public_html/.htaccess file.  This does not seem to be working
> for
> me.  Here's what I know:
> 
> 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
> install in the main server root which is working fine.
> 
> 2) the server is http://devel.mysite.com, and that top level is a cake
> app.
> 
> 3) I'm trying to create a http://devel.mysite.com/~ssharkey which is a
> copy of the above site (for devel/debugging).
> 
> 4) I have unpacked a clean cake 1.1.15.5144 into
> /home/ssharkey/public_html, and have Apache UserDir public_html
> configured.
> 
> 5) If I put an index.php in that /home/ssharkey/public_html, everthing
> works as expected.
> 
> 6) I have added RewriteBase /~ssharkey as the 2nd line in
> /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
> 
> This appears to be serving the raw content, but the css file is not
> being found, nor are any images or cake-generated links on the page.
> The apache log shows requests for /css/cake.generic.css, and files
> in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
> etc.
> 
> Any suggestions would be welcomed!
> 
> -scott
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-09 Thread Jonathan Langevin
Hey Scott, just saw the other posts to this thread, sorry about how
oblivious the other users seem to Apache :-)

maybe try editing app/config/core.php:

/**
 * If you do not have mod rewrite on your system
 * or if you prefer to use CakePHP pretty urls.
 * uncomment the line below.
 * Note: If you do have mod rewrite but prefer the
 * CakePHP pretty urls, you also have to remove the
 * .htaccess files
 * release/.htaccess
 * release/app/.htaccess
 * release/app/webroot/.htaccess
 */
//define ('BASE_URL', env('SCRIPT_NAME'));




On 7/7/07, Scott Sharkey <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
> I'm trying a "top-level" installation into an apache UserDir.  I've read
> the documentation, which says to put a RewriteBase directive in the
> /~user/public_html/.htaccess file.  This does not seem to be working for
> me.  Here's what I know:
>
> 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
> install in the main server root which is working fine.
>
> 2) the server is http://devel.mysite.com, and that top level is a cake
> app.
>
> 3) I'm trying to create a http://devel.mysite.com/~ssharkey which is a
> copy of the above site (for devel/debugging).
>
> 4) I have unpacked a clean cake 1.1.15.5144 into
> /home/ssharkey/public_html, and have Apache UserDir public_html
> configured.
>
> 5) If I put an index.php in that /home/ssharkey/public_html, everthing
> works as expected.
>
> 6) I have added RewriteBase /~ssharkey as the 2nd line in
> /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
>
> This appears to be serving the raw content, but the css file is not
> being found, nor are any images or cake-generated links on the page.
> The apache log shows requests for /css/cake.generic.css, and files
> in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
> etc.
>
> Any suggestions would be welcomed!
>
> -scott
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-08 Thread Scott Sharkey

Kunthar wrote:
> Then why not /home/ssharkey ?

Guys, I appreciate the attempts to help, but the ~ssharkey syntax is 
dictated by Apache, and is NOT optional.  That's what USERDIR means...

Is there anyone out there who has made this kind of an installation and 
can offer some kind of authoritative answer?

> Tip: Try /cake/scripts/bake.php
> cake bake help
> Helps to set up things fast.

Baking has NOTHING to do with the problem, but thanks.

Sorry to sound a bit frustrated... I thought this was a relatively 
simple installation problem, but apparently there are not too many out 
there who have done this, I guess.

Thanks
-Scott

> 
> Tip2: 1.2 version promising and highly stable, just FYI
> 
> On Jul 8, 5:08 pm, Scott Sharkey <[EMAIL PROTECTED]> wrote:
>> The ~ is unix notation for "home directory of", ie, in this case, home
>> directory of ssharkey.  It's standard notation for user_dir
>> installations.  In other words, the ~ is what clue's Apache to go look
>> up that user's home directory (whereever it is) and then look in a
>> specified directory (relative to home) for the content to serve.
>>
>> Thanks!
>>
>> -Scott
>>
>> francky06l wrote:
>>> Maybe the  "~" character is screwing up the rewriting.
>>> Why not RewriteBase /ssharkey  ?
>>> On Jul 8, 12:17 am, Scott Sharkey <[EMAIL PROTECTED]> wrote:
 Hi All,
 I'm trying a "top-level" installation into an apache UserDir.  I've read
 the documentation, which says to put a RewriteBase directive in the
 /~user/public_html/.htaccess file.  This does not seem to be working for
 me.  Here's what I know:
 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
 install in the main server root which is working fine.
 2) the server ishttp://devel.mysite.com, and that top level is a cake
 app.
 3) I'm trying to create ahttp://devel.mysite.com/~ssharkeywhichis a
 copy of the above site (for devel/debugging).
 4) I have unpacked a clean cake 1.1.15.5144 into
 /home/ssharkey/public_html, and have Apache UserDir public_html configured.
 5) If I put an index.php in that /home/ssharkey/public_html, everthing
 works as expected.
 6) I have added RewriteBase /~ssharkey as the 2nd line in
 /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
 This appears to be serving the raw content, but the css file is not
 being found, nor are any images or cake-generated links on the page.
 The apache log shows requests for /css/cake.generic.css, and files
 in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
 etc.
 Any suggestions would be welcomed!
 -scott
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-08 Thread Kunthar

Then why not /home/ssharkey ?

Tip: Try /cake/scripts/bake.php
cake bake help
Helps to set up things fast.

Tip2: 1.2 version promising and highly stable, just FYI

On Jul 8, 5:08 pm, Scott Sharkey <[EMAIL PROTECTED]> wrote:
> The ~ is unix notation for "home directory of", ie, in this case, home
> directory of ssharkey.  It's standard notation for user_dir
> installations.  In other words, the ~ is what clue's Apache to go look
> up that user's home directory (whereever it is) and then look in a
> specified directory (relative to home) for the content to serve.
>
> Thanks!
>
> -Scott
>
> francky06l wrote:
> > Maybe the  "~" character is screwing up the rewriting.
> > Why not RewriteBase /ssharkey  ?
>
> > On Jul 8, 12:17 am, Scott Sharkey <[EMAIL PROTECTED]> wrote:
> >> Hi All,
>
> >> I'm trying a "top-level" installation into an apache UserDir.  I've read
> >> the documentation, which says to put a RewriteBase directive in the
> >> /~user/public_html/.htaccess file.  This does not seem to be working for
> >> me.  Here's what I know:
>
> >> 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
> >> install in the main server root which is working fine.
>
> >> 2) the server ishttp://devel.mysite.com, and that top level is a cake
> >> app.
>
> >> 3) I'm trying to create ahttp://devel.mysite.com/~ssharkeywhichis a
> >> copy of the above site (for devel/debugging).
>
> >> 4) I have unpacked a clean cake 1.1.15.5144 into
> >> /home/ssharkey/public_html, and have Apache UserDir public_html configured.
>
> >> 5) If I put an index.php in that /home/ssharkey/public_html, everthing
> >> works as expected.
>
> >> 6) I have added RewriteBase /~ssharkey as the 2nd line in
> >> /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
>
> >> This appears to be serving the raw content, but the css file is not
> >> being found, nor are any images or cake-generated links on the page.
> >> The apache log shows requests for /css/cake.generic.css, and files
> >> in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
> >> etc.
>
> >> Any suggestions would be welcomed!
>
> >> -scott


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-08 Thread Scott Sharkey

The ~ is unix notation for "home directory of", ie, in this case, home 
directory of ssharkey.  It's standard notation for user_dir 
installations.  In other words, the ~ is what clue's Apache to go look 
up that user's home directory (whereever it is) and then look in a 
specified directory (relative to home) for the content to serve.

Thanks!

-Scott

francky06l wrote:
> Maybe the  "~" character is screwing up the rewriting.
> Why not RewriteBase /ssharkey  ?
> 
> On Jul 8, 12:17 am, Scott Sharkey <[EMAIL PROTECTED]> wrote:
>> Hi All,
>>
>> I'm trying a "top-level" installation into an apache UserDir.  I've read
>> the documentation, which says to put a RewriteBase directive in the
>> /~user/public_html/.htaccess file.  This does not seem to be working for
>> me.  Here's what I know:
>>
>> 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
>> install in the main server root which is working fine.
>>
>> 2) the server ishttp://devel.mysite.com, and that top level is a cake
>> app.
>>
>> 3) I'm trying to create ahttp://devel.mysite.com/~ssharkeywhich is a
>> copy of the above site (for devel/debugging).
>>
>> 4) I have unpacked a clean cake 1.1.15.5144 into
>> /home/ssharkey/public_html, and have Apache UserDir public_html configured.
>>
>> 5) If I put an index.php in that /home/ssharkey/public_html, everthing
>> works as expected.
>>
>> 6) I have added RewriteBase /~ssharkey as the 2nd line in
>> /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
>>
>> This appears to be serving the raw content, but the css file is not
>> being found, nor are any images or cake-generated links on the page.
>> The apache log shows requests for /css/cake.generic.css, and files
>> in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
>> etc.
>>
>> Any suggestions would be welcomed!
>>
>> -scott
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: UserDir Installation

2007-07-08 Thread francky06l

Maybe the  "~" character is screwing up the rewriting.
Why not RewriteBase /ssharkey  ?

On Jul 8, 12:17 am, Scott Sharkey <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying a "top-level" installation into an apache UserDir.  I've read
> the documentation, which says to put a RewriteBase directive in the
> /~user/public_html/.htaccess file.  This does not seem to be working for
> me.  Here's what I know:
>
> 1) Mod_Rewrite is loaded and working fine on the server.  I have a cake
> install in the main server root which is working fine.
>
> 2) the server ishttp://devel.mysite.com, and that top level is a cake
> app.
>
> 3) I'm trying to create ahttp://devel.mysite.com/~ssharkeywhich is a
> copy of the above site (for devel/debugging).
>
> 4) I have unpacked a clean cake 1.1.15.5144 into
> /home/ssharkey/public_html, and have Apache UserDir public_html configured.
>
> 5) If I put an index.php in that /home/ssharkey/public_html, everthing
> works as expected.
>
> 6) I have added RewriteBase /~ssharkey as the 2nd line in
> /home/ssharkey/public_html/.htaccess (just after RewriteEngine on).
>
> This appears to be serving the raw content, but the css file is not
> being found, nor are any images or cake-generated links on the page.
> The apache log shows requests for /css/cake.generic.css, and files
> in /img.  I would think these should be /~ssharkey/css/cake.generic.css,
> etc.
>
> Any suggestions would be welcomed!
>
> -scott


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



UserDir Installation

2007-07-07 Thread Scott Sharkey

Hi All,

I'm trying a "top-level" installation into an apache UserDir.  I've read 
the documentation, which says to put a RewriteBase directive in the 
/~user/public_html/.htaccess file.  This does not seem to be working for 
me.  Here's what I know:

1) Mod_Rewrite is loaded and working fine on the server.  I have a cake 
install in the main server root which is working fine.

2) the server is http://devel.mysite.com, and that top level is a cake
app.

3) I'm trying to create a http://devel.mysite.com/~ssharkey which is a 
copy of the above site (for devel/debugging).

4) I have unpacked a clean cake 1.1.15.5144 into 
/home/ssharkey/public_html, and have Apache UserDir public_html configured.

5) If I put an index.php in that /home/ssharkey/public_html, everthing 
works as expected.

6) I have added RewriteBase /~ssharkey as the 2nd line in 
/home/ssharkey/public_html/.htaccess (just after RewriteEngine on).

This appears to be serving the raw content, but the css file is not 
being found, nor are any images or cake-generated links on the page.
The apache log shows requests for /css/cake.generic.css, and files
in /img.  I would think these should be /~ssharkey/css/cake.generic.css, 
etc.

Any suggestions would be welcomed!

-scott

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---