Thanks a lot. Seems like it might work :)
There seems to be a missing mysql db driver, which my search online says is
because of missing PDO driver for mysql.
I'll update once the (slow) web-hosting team updates the driver settings
Thx a lot :)
R
On Wednesday, 24 October 2012 08:19:52 UTC-4, PaulW wrote:
>
> Hi
>
> There's nothing particularly clever needs doing for this. I did exactly
> the same thing recently where we built a mini site to sit in a sub folder
> of the customer's existing site.
>
> The only 'issue' I had was I had to edit the standard .htaccess files
> slightly to set the RewriteBase path properly (which I got help from on
> this list) you might not even need to do this but what I ended up with
> was..
>
> mysite.com/webapp/.htaccess
>
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteBase /webapp
> RewriteRule ^$ app/webroot/ [L]
> RewriteRule (.*) app/webroot/$1 [L]
> </IfModule>
>
> mysite.com/webapp/app/.htaccess
>
> <IfModule mod_rewrite.c>
> RewriteEngine on
> RewriteBase /webapp/app/
> RewriteRule ^$ webroot/ [L]
> RewriteRule (.*) webroot/$1 [L]
> </IfModule>
>
> mysite.com/webapp/app/webroot/.htaccess
>
> <IfModule mod_rewrite.c>
> RewriteEngine On
> RewriteBase /webapp/app/webroot/
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> </IfModule>
>
> Cheers
>
> Paul
>
>
>
> On 23 Oct 2012, at 23:25, sso <[email protected] <javascript:>> wrote:
>
> > Hi,
> >
> > I have kind of an unique situation.
> > I have developed a cakephp app and need to deploy it to a shared server
> with content.
> > I know generally we are supposed to have static content in webroot, but
> am not allowed to do so, as this application needs to be removed later on.
> >
> > its a shared hosting and i can't change DocumentRoot or any admin
> related settings. I can however add .htacces files.
> >
> > I have my files in the following order:
> > /webapp
> > /app
> > /lib
> > ...
> > /webroot
> >
> > I guess you get the point.
> > I was planning to deploy the entire 'webapp' folder along with the
> static site and have the login link so the people can come to the site as
> http://mysite.com/webapp/users/login.
> > Unfortunately I do not know the correct way to do this. I hope to
> preserve the directory structure as-is so that someone coming after me can
> easily modify and delete it.
> >
> > Any help is appreciated.
> >
> > --
> > Like Us on FaceBook https://www.facebook.com/CakePHP
> > Find us on Twitter http://twitter.com/CakePHP
> >
> > ---
> > You received this message because you are subscribed to the Google
> Groups "CakePHP" group.
> > To post to this group, send email to [email protected]<javascript:>.
>
> > To unsubscribe from this group, send email to
> [email protected] <javascript:>.
> > Visit this group at http://groups.google.com/group/cake-php?hl=en.
> >
> >
>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.