not if they dont allow you to override the .htaccess rules unfortunately.

I've never known a hosting provider to not allow it though

2009/10/26 浪漫様 <rohmand...@gmail.com>

>
> unfortunatelly, the hosting provider staff are just a bunch of morons
> that don't even know what a subdomain is [ amazing ] and don't provide
> SSH accounts neither [ because i can change configurations in the
> whole system... also amazing ]. my client is a university organization
> so they just contract some whatever-people that has no the minor idea
> about anything... don't think they will be able to change the
> httpd.conf for me.
>
> about the pretty-urls, i found that solution yesterday, and made it
> work like: http://www.creta.org.tw/index.php/xx/yy/zz
> however, i really would like not to have the 'index.php' in the
> middle... there is no other way to configure it so can work without
> it?
>
> thanks
>
> Rohman
>
> On Oct 26, 12:24 pm, David Roda <davidcr...@gmail.com> wrote:
> > Alternatively you can just uncomment the line in core.php to disable the
> > pretty urls.
> >
> > This makes the url's look
> likehttp://yoursite/app_dir/index.php/controller/action
> >
> >
> >
> > On Mon, Oct 26, 2009 at 12:14 AM, Dr. Loboto <drlob...@gmail.com> wrote:
> >
> > > AllowOverride controls the use of .htaccess files, so NO, you cannot
> > > set it there. Contact your hosting provider.
> >
> > > On Oct 25, 11:58 am, 浪漫様 <rohmand...@gmail.com> wrote:
> > > > thanks. i have no access to Apache's httpd.conf
> > > > there is any way to write the AllowOverride All in the .htaccess or
> > > > something else?
> > > > thanks
> >
> > > > Rohman
> >
> > > > On Oct 24, 4:44 pm, "Dr. Loboto" <drlob...@gmail.com> wrote:
> >
> > > > > mod_rewrite is not working. Check that it's loaded and you have
> > > > > AllowOverride All for your cake install dir.
> >
> > > > > On Oct 24, 12:00 pm, 浪漫様 <rohmand...@gmail.com> wrote:
> >
> > > > > > dear all,
> > > > > > i had been using cakephp for long time already and never had that
> > > > > > problem.
> > > > > > i have to create a site for a client and they give me a hosting
> > > > > > running on a CentOS machine.
> > > > > > i uploaded all cakephp files, changed the salt, made connection
> to
> > > db,
> > > > > > etc... BUT the CSS is not loaded and URL rewriting seems wrong (
> not
> > > > > > working except for app )
> >
> > > > > > CakePHP version: 1.2.4.8284
> > > > > > PHP version: 4.4.9 with mod_rewrite module loaded
> >
> > > > > > You can see PHP configuration here:
> http://www.creta.org.tw/php.php
> > > > > > You can see Cake running here:http://www.creta.org.tw
> >
> > > > > > This URL [http://www.creta.org.tw/app] says "Missing Method in
> > > > > > AppController"
> > > > > > This URL [http://www.creta.org.tw/users/create] says "The
> requested
> > > > > > URL /users/create was not found on this server."
> > > > > > This URL [
> http://www.creta.org.tw/app/webroot/css/cake.generic.css]
> > > > > > would actually show the contents of the CSS file
> > > > > > So something is going bad on here and i don't know how to fix it.
> >
> > > > > > My .htaccess files are as follow:
> >
> > > > > > /.htaccess
> > > > > > <IfModule mod_rewrite.c>
> > > > > >     RewriteEngine On
> > > > > >     RewriteRule    ^$ app/webroot/     [L]
> > > > > >     RewriteRule    (.*) app/webroot/$1 [L]
> > > > > > </IfModule>
> >
> > > > > > /app/.htaccess
> > > > > > <IfModule mod_rewrite.c>
> > > > > >     RewriteEngine On
> > > > > >     RewriteRule    ^$   webroot/      [L]
> > > > > >     RewriteRule    (.*) webroot/$1    [L]
> > > > > > </IfModule>
> >
> > > > > > /app/webroot/.htacess
> > > > > > <IfModule mod_rewrite.c>
> > > > > >     RewriteEngine On
> > > > > >     RewriteCond %{REQUEST_FILENAME} !-d
> > > > > >     RewriteCond %{REQUEST_FILENAME} !-f
> > > > > >     RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> > > > > > </IfModule>
> >
> > > > > > Thanks in advance!
> >
> > > > > > Rohman
> >
> > --
> > David C. Roda
> > 717-917-2169
> >
>


-- 
David C. Roda
717-917-2169

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

Reply via email to