> You mentioned that you place the controllers in a sub-domain. Do you
> mean something like this:
>
> subdom.example.com/admin/userscontroller?
>
> If not, can you provide an example?
the subdomain points to the same directory as the main domain.
therefore the same controllers are used, except t
Hi,
You mentioned that you place the controllers in a sub-domain. Do you
mean something like this:
subdom.example.com/admin/userscontroller?
If not, can you provide an example?
On Apr 16, 2:13 am, "jyrgen" <[EMAIL PROTECTED]> wrote:
> > I get missing controller errors
>
> > "AdminusersControll
> I get missing controller errors
>
> "AdminusersController" should be Users Controller and so on...
even though the problem described above has turned into another one,
i need some help or instructions to get my cake URLs fixed. where to
patch what ?
Where does the derivation of controller name
ok, after commenting out this line
define ('BASE_URL', env('SCRIPT_NAME'));
in core.php and activating mod_rewrite it works.
But now my admin area, which is located on a subdomain,
does not work anymore.
I get missing controller errors
"AdminusersController" should be Users Controller and so
On 15 Apr., 10:25, "sumanpaul" <[EMAIL PROTECTED]> wrote:
> ahh is your mod_rewrite enabled?
in apache conf yes. but i've commented out the .htaccess files.
is mod_rewrite neccessary for creating static links ??
cheers, jyrgen
--~--~-~--~~~---~--~~
You recei
ahh is your mod_rewrite enabled?
On Apr 15, 12:40 pm, "jyrgen" <[EMAIL PROTECTED]> wrote:
> > echo $html->link('File','http://host.com/files/quickguide.pdf');
>
> no, i get a "not found" error. But the pdf is there.
> jyrgen
--~--~-~--~~~---~--~~
You received thi
> echo $html->link('File','http://host.com/files/quickguide.pdf');
no, i get a "not found" error. But the pdf is there.
jyrgen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this gr
Does it work for you if you try something like:
echo $html->link('File','http://host.com/files/quickguide.pdf');
On Apr 14, 8:33 pm, "jyrgen" <[EMAIL PROTECTED]> wrote:
> i've got index.php in *all* URLs... :-)
> they all look likehttp://localhost/cake/index.php/controller/action
>
> don't quit
i've got index.php in *all* URLs... :-)
they all look like
http://localhost/cake/index.php/controller/action
don't quite know, what you mean with server setup.
directory structure is
/var/www/cake
/var/www/cake/cake
/var/www/cake/app
/var/www/cake/app/controller
/var/www/cake/app/views
...
/var/
> i tried what you suggested, but no success:
>
> this is the resulting link:
> http://localhost/cake/index.php/files/quickguide.pdf
> (-> error missing controller)
>
> i guess it's supposed to be sth. like
> http://localhost/cake/app/webroot/files/quickguide.pdf
>
> is there anything wrong with m
hi jon,
i tried what you suggested, but no success:
this is the resulting link:
http://localhost/cake/index.php/files/quickguide.pdf
(-> error missing controller)
i guess it's supposed to be sth. like
http://localhost/cake/app/webroot/files/quickguide.pdf
is there anything wrong with my routin
> this is the resulting false link when i issue
>
>
> http://localhost/cake/index.php/pages/quickguide.pdf
>
> It doesn't work, because the link is relative.
>
> Also i don't want to hardcode the absolute URL because i'm
> on my local dev machine. The site will be placed online
> (in the www root
hi joshua !
thanks for you advice.
this is the resulting false link when i issue
http://localhost/cake/index.php/pages/quickguide.pdf
It doesn't work, because the link is relative.
Also i don't want to hardcode the absolute URL because i'm
on my local dev machine. The site will be placed onl
I'm not sure if this is right, but I would personally just put in the
static HTML in the view if it's going to be static content. As for
where to put the documents, put the somewhere accessible from the web
(perhaps somewhere under app/webroot, or somewhere else if you have a
system in place).
Li
hi all,
i am wondering how to create static links with the link helper
(for example to a pdf) and where to put the files.
$html->link always renders http://host/cake/index.php/controller/action
which i don't want in this case.
thank you !
jyrgen
--~--~-~--~~~---~--~--
15 matches
Mail list logo