mod rewrite google apps question

2011-10-24 Thread fly2279
If you're using google apps, there is a file that google wants in the root of the domain to verify ownership. Is there a mod rewrite rule I can add to the htaccess file so that when navigating to http://mysite.com/randomgooglefilename.html you can access that file instead of going through cakephp

Re: mod rewrite google apps question

2011-10-24 Thread Andrey Puhalevich
RewriteRule ^$ app/webroot/[L] RewriteCond %{REQUEST_URI} !^/?(idevaffiliate|phpmyadmin|google).*$ RewriteCond %{REQUEST_URI} !^/?(crossdomain.xml|robots.txt|favicon.ico| sitemap.xml)$ RewriteRule (.*) app/webroot/$1 [L] -- Our newest site for the community: CakePHP Video Tutorials

Re: mod rewrite google apps question

2011-10-24 Thread fly2279
That seems to give me an internal server error, 500 when I try that. On Oct 24, 11:47 am, Andrey Puhalevich a.puhalev...@gmail.com wrote: RewriteRule ^$ app/webroot/    [L] RewriteCond %{REQUEST_URI} !^/?(idevaffiliate|phpmyadmin|google).*$ RewriteCond %{REQUEST_URI}

Re: mod rewrite google apps question

2011-10-24 Thread Andras Kende
Just place it into the app/webroot/randomgooglefilename.html folder so it will be served directly Andras Kende On Oct 24, 2011, at 10:17 AM, fly2279 wrote: If you're using google apps, there is a file that google wants in the root of the domain to verify ownership. Is there a mod rewrite

Re: mod rewrite google apps question

2011-10-24 Thread Ken Frey
, at 10:17 AM, fly2279 wrote: If you're using google apps, there is a file that google wants in the root of the domain to verify ownership. Is there a mod rewrite rule I can add to the htaccess file so that when navigating to http://mysite.com/randomgooglefilename.html you can access that file

Re: iis micronovae mod-rewrite

2010-03-23 Thread miryamfv
just fyi, i solved the issue. the problem was I had cakephp on a subfolder, so i just added a RewriteBase /subfolder/ to the .htaccess On Mar 19, 2:07 am, miryamfv mirya...@gmail.com wrote: Hello, I'm trying to get mod_rewrite to work on iis, my hosting company is using themicronovaemodule

Mod Rewrite?

2010-03-23 Thread thankyou
Hello, I have a website where both website.com/MyDirectory/xxx and website.com/mydirectory/xxx point to the same location. The only difference is the capitals. To help optimize the website for SEO, I would want to do a 301 redirect from /MyDirectory/ to /mydirectory/ Is this possible? Check

Re: Mod Rewrite?

2010-03-23 Thread Lucca Mordente
Despite this is not a Cake question: Here you can find the Apache mod_rewrite documentation: http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Remember that Google is your best friend: http://tinyurl.com/ylhr2pu Lucca Mordente On 23 mar, 09:48, thankyou gregbo...@gmail.com wrote: Hello,

iis micronovae mod-rewrite

2010-03-19 Thread miryamfv
Hello, I'm trying to get mod_rewrite to work on iis, my hosting company is using the micronovae module but which allows you use a .htaccess file, but I cant make it work, does anybody know about this? Thank you very much Check out the new CakePHP Questions site http://cakeqs.org and help

Mod rewrite to root

2010-03-17 Thread thankyou
Hi , I have a cakephp application where there's a link: http://www.mywebsite.com/numbers/view/112-332-3322 -- BTW...there are a variety of numbers after view/ not just 112-332-3322 I would like to make that viewable to the users as: http://www.mywebsite.com/112-332-3322 Is there a way to use mod

Re: Mod rewrite to root

2010-03-17 Thread cricket
a cakephp application where there's a link:http://www.mywebsite.com/numbers/view/112-332-3322-- BTW...there are a variety of numbers after view/ not just 112-332-3322 I would like to make that viewable to the users as:http://www.mywebsite.com/112-332-3322 Is there a way to use mod-rewrite

Re: mod rewrite strange problem

2010-02-27 Thread WebRenovator
somewhere. HTHAB On Feb 25, 9:57 am, Roey roeygr...@gmail.com wrote: Hi I have a strange problem with mod rewrite: I use cakephp version 1.2.5 with admin routing and RequestHandler component. My system is Ubuntu linux 9.10 with apache2, mysql and php 5. I have a few controllers (users, places

mod rewrite strange problem

2010-02-25 Thread Roey
Hi I have a strange problem with mod rewrite: I use cakephp version 1.2.5 with admin routing and RequestHandler component. My system is Ubuntu linux 9.10 with apache2, mysql and php 5. I have a few controllers (users, places and cities). When I go to the places controller without admin route

Re: Mod rewrite skip

2009-11-10 Thread Walther
Not sure exactly what you are wanting to do, but CakePHP automatically allows you to access files in webroot. So if you have a app/webroot/manager and you visit domain.com/manager you will automatically access whatever files are in app/webroot/ manager. This allows you to have 3rd party scripts

Re: Mod rewrite skip

2009-11-10 Thread Martin Westin
Am I right when I say that you want /app/webroot/manager/existing_file -- should be accessible /app/webroot/manager/nonexistent_file -- should not be rewritten to a missing controller page It that is what you want, the lazy answer is that you don't have to worry. When you are live... at debug

Mod rewrite skip

2009-11-08 Thread kangur91
I've got problem. Is a possibility to skip folder in modrewrite? For example I have folder in /app/webroot/manager/ -- I want to skip rewrite on manager folder. PS: this folder is on manager.domain.com --~--~-~--~~~---~--~~ You received this message because you are

installation - mod rewrite

2009-08-04 Thread ondicz
Hello, i try to install CakePHP on my webhosting. I copied all files to subdirectory cake but with default .htaccess a get 404 error. I put this line in .htaccess RewriteBase /cake. Now without error, i see text but as i examined code, the path to favicon or css file is invalid - with /cake.

Re: installation - mod rewrite

2009-08-04 Thread ondicz
sorry, my stupidity, it works ok. closed On 4 srp, 13:17, ondicz ondrej.ha...@gmail.com wrote: Hello, i try to install CakePHP on my webhosting. I copied all files to subdirectory cake but with default .htaccess a get 404 error. I put this line in .htaccess RewriteBase /cake. Now without

Error getting started...404 and 505 (mod rewrite, etc.)

2009-04-13 Thread wmballa...@gmail.com
ok. Now I get a 500 error. I used the method for bypassing mod rewrite by changing the line in the config file, css works on the main page. Then as a quick test I tried making this note app from (http://www.sitepoint.com/article/ application-development-cakephp/2/) and I get a 404 page when I

Re: Mod Rewrite problem

2009-02-10 Thread thankyou
Wonderful, thank you On Feb 9, 10:31 am, Webweave webwe...@gmail.com wrote: Here's a good writeup from the bakery:http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared... On Feb 9, 5:53 am, thankyou gregbo...@gmail.com wrote: I'm not very familiar with modrewrite -- do I

Re: Mod Rewrite problem

2009-02-09 Thread thankyou
I'm not very familiar with modrewrite -- do I just add the text RewriteBase to the .htaccess file? On Feb 9, 12:17 am, Webweave webwe...@gmail.com wrote: You need to add the RewriteBase to the .htaccess files in the folder where you blog is. Assuming that blog.mywebsite.com is set up to

Re: Mod Rewrite problem

2009-02-09 Thread Webweave
Here's a good writeup from the bakery: http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared-hosting On Feb 9, 5:53 am, thankyou gregbo...@gmail.com wrote: I'm not very familiar with modrewrite -- do I just add the text RewriteBase to the .htaccess file? On Feb 9, 12:17 am

Mod Rewrite problem

2009-02-08 Thread thankyou
Hello, I have the .htaccess file setup so that it makes cakephp work fine. The problem is that I also want to add a blog to the website at /blog, ie blog.websitename.com. The folder is in /blog. My .htaccess file info is below, what do I need to do to make the blog.websitename.com work?

Mod Rewrite problem

2009-02-08 Thread thankyou
Hello, I have the .htaccess file setup so that it makes cakephp work fine at mywebsite.com. The problem is that I also want to add a blog to the website at the folder /blog, so I can make blog.mywebsite.com work. The folder is in /blog. My .htaccess file info is below, what do I need to do to

Re: Mod Rewrite problem

2009-02-08 Thread Webweave
You need to add the RewriteBase to the .htaccess files in the folder where you blog is. Assuming that blog.mywebsite.com is set up to serve the files from the /blog folder, you just need to make sure you have the .htaccess files as described here:

Mod rewrite in Cake 1.1

2008-05-01 Thread CakeMan
Hi , I am having an web application in Cakephp 1.1 . I have an URL such as this one http://www.mysite.com/users/username I want to make this URL as http://www.mysite.com/username How can i do this. Please help. Also can i upgrade my current Cakephp 1.1 application to Cakephp1.2 . if yes,

mod-rewrite exclusions on subfolder

2008-04-28 Thread holodigm
Hi all, I have an app at http://orders.local/ and use URLs such as http://orders.local/orders http://orders.local/invoicing etc I have php soap calls under http://orders.local/report/ and wish to exclude /report from the CakePHP rewrites. In http://orders.local/.htaccess I have tried: IfModule

Re: mod-rewrite exclusions on subfolder

2008-04-28 Thread holodigm
After hitting IRC kuja indicated a point that I have not seen elsewhere: Once you have the RewriteCond entered in the .htaccess file you need to place the excluded folder under /app/webroot. So in the above example /report is now under /app/webroot/report and the rewritecond is RewriteCond

Re: mod-rewrite exclusions on subfolder

2008-04-28 Thread francky06l
Alternatively you could use the QUERY_STRING in reqriteCond: RewriteCond %(QUERY_STRING) !^/report/.*$ should work.. hth On Apr 28, 2:35 pm, holodigm [EMAIL PROTECTED] wrote: After hitting IRC kuja indicated a point that I have not seen elsewhere: Once you have the RewriteCond entered in

Re: mod rewrite or .htaccess issue

2007-11-18 Thread Indian Baker
Hi, Laeffe, Thanks for help yes I too tried something similar and made some progress but there is still a problem with my CSS and JS file loading.. Now when I go to any one of the inner pages.. the CSS and JS files link is wrong.. example if you go to http://72.167.47.152/~hoteljob/users/login

Re: mod rewrite or .htaccess issue

2007-11-17 Thread laeffe
Hi, I hade big problems trying to use mod_rewrite with apache in my home dir when i tried to setup cake. But i solved it by adding RewriteBase to more or less all of the .htaccess files. Did somthing like this: (in all .htaccess) RewriteBase /~username/the/folder/that/this-file-is/in/ If you

Re: mod rewrite or .htaccess issue

2007-11-16 Thread Indian Baker
Hi Francky, Yes I'm using the ~ type as it is a temp url.. is that a problem with cake applications? The default .htaccess file that comes with cake isnt working.. it gives me a 404 error, hence the need to play around with the .htaccess file Or alternatively is there a way I can avoid using ~

Re: mod rewrite or .htaccess issue

2007-11-16 Thread Indian Baker
Oh I thought.. I'd mention its a GoDaddy server, but its a dedicated/ Virtual Dedicated Server and I know there have been issues with others on their Godaddy Co- hosted servers, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

mod rewrite or .htaccess issue

2007-11-16 Thread Indian Baker
Hi, We built an application using CakePHP 1.2 and it works fine on our local development sever. However when we try to upload it to this server.. nothing seems to work.. Here is the URL http://72.167.47.152/~hoteljob/ I'm guessing it has to with either the mod rewrite or something wrong

Re: mod rewrite or .htaccess issue

2007-11-15 Thread francky06l
development sever. However when we try to upload it to this server.. nothing seems to work.. Here is the URLhttp://72.167.47.152/~hoteljob/ I'm guessing it has to with either the mod rewrite or something wrong with the htaccess files. Actually we had to modify the lines in the htaccess on the root

Re: mod rewrite or .htaccess issue

2007-11-15 Thread francky06l
on our local development sever. However when we try to upload it to this server.. nothing seems to work.. Here is the URLhttp://72.167.47.152/~hoteljob/ I'm guessing it has to with either the mod rewrite or something wrong with the htaccess files. Actually we had to modify

Re: mod rewrite or .htaccess issue

2007-11-15 Thread Indian Baker
fine on our local development sever. However when we try to upload it to this server.. nothing seems to work.. Here is the URLhttp://72.167.47.152/~hoteljob/ I'm guessing it has to with either the mod rewrite or something wrong with the htaccess files. Actually we had to modify

paths and how to deal with no apache mod-rewrite

2007-09-15 Thread CakeONaut
Hi! My host uses apache but does not have mod_rewrite available right now. I'm wondering if I could be pointed to any information on how to a) have my application use regular urls b) have my urls made prettier (without using mod_rewrite) Are these possible? Thanks heaps! - W

Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
Hi, The project I've been working on in Cake has been working for weeks, even months. Yet when I opened up my laptop this morning and tried to open up my project, none of the normal links work (links to methods, etc.)! My webroot folder cannot seem to be found either, so all of the CSS is

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread Chris Hartjes
On 6/19/07, andy [EMAIL PROTECTED] wrote: Hi, The project I've been working on in Cake has been working for weeks, even months. Yet when I opened up my laptop this morning and tried to open up my project, none of the normal links work (links to methods, etc.)! My webroot folder cannot

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
Yeah, I know that nothing should stop working if nothing has been done to it. So, it might be the localhost webserver that has caused some sort of problem. That's what I thought, too, and I have checked my httpd.conf and restarted the web server a few times to see if that would fix the problem.

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread Chris Hartjes
On 6/19/07, andy [EMAIL PROTECTED] wrote: That's what I thought, too, and I have checked my httpd.conf and restarted the web server a few times to see if that would fix the problem. But Cake still doesn't run like it should. I checked another PHP/MySQL/Apache-based script program on the

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
No, I haven't touched the core Cake files since I set this project up. I haven't touched the config files for a while as well... which is why I don't understand this problem. On Jun 19, 10:59 am, Chris Hartjes [EMAIL PROTECTED] wrote: On 6/19/07, andy [EMAIL PROTECTED] wrote: That's what I

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread Jonathan Langevin
Do you have access to your HTTPD error log? On 6/19/07, andy [EMAIL PROTECTED] wrote: No, I haven't touched the core Cake files since I set this project up. I haven't touched the config files for a while as well... which is why I don't understand this problem. On Jun 19, 10:59 am, Chris

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
Okay, now I know what happened-- I was copying a previously created .htaccess file into the main cake directory. What I didn't know is that there is already a .htaccess file in that folder (as well as the webroot folder, apparently,) and so... I accidentally overwrote the old .htaccess. Stupid

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
Sorry, somehow my response to this has been lost. Anyway, earlier this morning, I replied to you guys (or tried to,) that I finally realized what I had messed up in the cake project. I accidentally overwrote one of the main .htaccess files because I didn't realize there was already one in the

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread Jonathan Langevin
both of your responses showed up for me ;-) maybe set your .htaccess to be read only, to avoid an issue like that? that's happened many times in the past for me, i hate it :-) that's why now I keep all my code in SVN, and just do a checkout to the website when it's ready, helps me avoid

Re: Cake's Mod Rewrite Engine (whatever it is called) has stopped working...!?

2007-06-19 Thread andy
ah, okay, sometimes the emails just don't seem to have posted (@_@;) thanks for the tip, Jonathan! Yeah, I should really be keeping this in some type of SVN or CVS or something someday... andy On Jun 19, 12:44 pm, Jonathan Langevin [EMAIL PROTECTED] wrote: both of your responses showed up

Re: Bad link without mod rewrite

2007-05-20 Thread xavi
? thank you sickrandir On Apr 19, 6:26 pm,sickrandir[EMAIL PROTECTED] wrote: I'm running a site with the latest stable version of cake 1.1 . I disabled mod rewrite by uncommenting: define ('BASE_URL', env('SCRIPT_NAME')); in core.php and deleting all the .htaccess file

Re: Bad link without mod rewrite

2007-05-06 Thread sickrandir
with the latest stable version of cake 1.1 . I disabled mod rewrite by uncommenting: define ('BASE_URL', env('SCRIPT_NAME')); in core.php and deleting all the .htaccess file. Everything seems to work except for the link inserted in the posts of the home page. The first time you load

Cant get the mod rewrite going online

2007-05-02 Thread cakedude
at my online server information ( phpinfo() ). This stated under Apache that the mod_rewrite module IS loaded. My knowledge of server settings is limited but after reading allot of posts about the mod rewrite issue i realized that in order for the mod rewrite function to work, i would have to make

Re: Cant get the mod rewrite going online

2007-05-02 Thread Dustin Weber
In my experiences, you can enable mod rewrite in some shared hosting environments by placing something like this in a .htaccess file: IfModule mod_rewrite.c RewriteEngine on RewriteRule^$ app/webroot/[L] RewriteRule(.*) app/webroot/$1 [L] /IfModule What you'll notice though

Re: Cant get the mod rewrite going online

2007-05-02 Thread francky06l
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] Hope this helps. On May 2, 1:28 pm, Dustin Weber [EMAIL PROTECTED] wrote: In my experiences, you can enable mod rewrite in some shared hosting environments by placing something like this in a .htaccess file: IfModule mod_rewrite.c RewriteEngine

Re: Bad link without mod rewrite

2007-05-01 Thread xavi
: I'm running a site with the latest stable version of cake 1.1 . I disabled mod rewrite by uncommenting: define ('BASE_URL', env('SCRIPT_NAME')); in core.php and deleting all the .htaccess file. Everything seems to work except for the link inserted in the posts of the home page. The first

Re: Bad link without mod rewrite

2007-04-30 Thread sickrandir
Tried to figure out the problem by myself but without success... Anyone can help? thank you sickrandir On Apr 19, 6:26 pm, sickrandir [EMAIL PROTECTED] wrote: I'm running a site with the latest stable version of cake 1.1 . I disabled mod rewrite by uncommenting: define ('BASE_URL', env

Bad link without mod rewrite

2007-04-19 Thread sickrandir
I'm running a site with the latest stable version of cake 1.1 . I disabled mod rewrite by uncommenting: define ('BASE_URL', env('SCRIPT_NAME')); in core.php and deleting all the .htaccess file. Everything seems to work except for the link inserted in the posts of the home page. The first time you

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread Sam Sherlock
ofay with mod rewrite} (.*) - catches everything can this line be made more specific? On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hrmm, don't give up just yet! I just read the FAQ and it seems, if indeed you have the type of hosting control mentioned in this FAQ

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread kitten
less specific? I dunno how that could be done. maybe {yeah I am not fully ofay with mod rewrite} (.*) - catches everything can this line be made more specific? On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hrmm, don't give up just yet! I just read the FAQ and it seems

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread Sam Sherlock
be made to happen a different format of error 404 this time. A bit plainer than before, their usual error 404 has a load of adverts on it perhaps making that line less specific? I dunno how that could be done. maybe {yeah I am not fully ofay with mod rewrite} (.*) - catches

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread PaulV
I am also using the Business Pro account from UK 11 and also had the same problems with mod_rewrite. I fixed mine by using the following .htaccess files /.htaccess IfModule mod_rewrite.c RewriteEngine on RewriteRule^$ /app/webroot/[L] RewriteRule(.*) /app/webroot/$1 [L]

Re: mod rewrite issue with 1and1 servers

2007-02-09 Thread Sam Sherlock
Thanks PaulV. Thats hitting the nail squarely on the head. And right in the sweet spot too. worked first time. Although since I baked it in a project directory I only needed the last two .htaccess *mod_rewrite is voodoo. Damned cool voodoo, but still voodoo. ''* Brian Moore [EMAIL

mod rewrite issue with 1and1 servers

2007-02-08 Thread Sam Sherlock
into things although it gives 404 errors, seeing as webroot doesn't currently exist. though it does. Has anyone managed to get mod rewrite to work on 1and1 with cakephp or got any suggestions is they a way to make this line (below) narrower / less specific? RewriteRule (.*) webroot/$1[L] I

Re: mod rewrite issue with 1and1 servers

2007-02-08 Thread [EMAIL PROTECTED]
managed to get mod rewrite to work on 1and1 with cakephp or got any suggestions is they a way to make this line (below) narrower / less specific? RewriteRule (.*) webroot/$1[L] I read elsewhere on the web that other users have had issues with mod_rewrite in wordpress fore instance

Re: mod rewrite issue with 1and1 servers

2007-02-08 Thread Sam Sherlock
Thanks for the response. Changing AllowOverride from None to All is what got it working on my WAMP server as I understand Mod Rewrite won't work unless its set to All. As mod rewrite does work on the package (there are some rudimentary examples in their FAQ) Their FAQ Page http://faq.1and1.com

Re: mod rewrite issue with 1and1 servers

2007-02-08 Thread [EMAIL PROTECTED]
to All is what got it working on my WAMP server as I understand Mod Rewrite won't work unless its set to All. As mod rewrite does work on the package (there are some rudimentary examples in their FAQ) Their FAQ Pagehttp://faq.1and1.com/scripting_languages_supported/configuring_apache

Re: mod rewrite issue with 1and1 servers

2007-02-08 Thread Sam Sherlock
thanks - I am certain this can be made to happen a different format of error 404 this time. A bit plainer than before, their usual error 404 has a load of adverts on it perhaps making that line less specific? I dunno how that could be done. maybe {yeah I am not fully ofay with mod rewrite

Re: mod rewrite issue with 1and1 servers

2007-02-08 Thread kitten
specific? I dunno how that could be done. maybe {yeah I am not fully ofay with mod rewrite} (.*) - catches everything can this line be made more specific? On 09/02/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hrmm, don't give up just yet! I just read the FAQ and it seems, if indeed

newbie-getting setup, no mod-rewrite and getting 404s

2006-10-26 Thread [EMAIL PROTECTED]
Hi, I'm new to frameworks and am checking out Cake. I do NOT have mod-rewrite on my computer but I did set up Cake in the config file to use pretty URLs instead of Mod rewrite. I'm using the development install, and I can see the styled default page at localhost/cake and it says that it can

Re: newbie-getting setup, no mod-rewrite and getting 404s

2006-10-26 Thread nate
http://manual.cakephp.org/appendix/blog_tutorial See Section 5. --~--~-~--~~~---~--~~ 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

Re: newbie-getting setup, no mod-rewrite and getting 404s

2006-10-26 Thread [EMAIL PROTECTED]
Thanks, I finished the tutorial! --~--~-~--~~~---~--~~ 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

Re: newbie-getting setup, no mod-rewrite and getting 404s

2006-10-26 Thread [EMAIL PROTECTED]
Hi again, I've moved on to trying out the scaffolding feature on one of my tables. I set up the model and controller but when I view the scaffold in my web browser I see all the table data but in the right most column under actions I get a bunch of errors like: Notice: Undefined index: id in

Re: newbie-getting setup, no mod-rewrite and getting 404s

2006-10-26 Thread [EMAIL PROTECTED]
Nevermind, forgot 'id' was case sensative... --~--~-~--~~~---~--~~ 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

Re: form action without mod rewrite

2006-05-31 Thread Larry E. Masters aka PhpNut
Try doing it the cake way. form action="" echo $html-url('/executions/index/'); ? method=postWill make your app portable.-- /*** @author Larry E. Masters * @var string $userName* @param string $realName* @returns string aka PhpNut* @accesspublic*/On 5/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: form action without mod rewrite

2006-05-31 Thread [EMAIL PROTECTED]
Yes, It works well too and it's like the the cake way But is it normal than I should add it to all my baked form ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: form action without mod rewrite

2006-05-31 Thread Larry E. Masters aka PhpNut
Yes it would be normal since the html is not parsed by PHP and there is not way to add the needed paths that mod rewrite would normally handle. All forms should be created that way, as a matter of fact the helpers should be used as much as possible so errors like this will not sneak into your code

Re: form action without mod rewrite

2006-05-31 Thread [EMAIL PROTECTED]
so the bake should generate form action=?php echo $html-url('/executions/index/'); ? method=post instead of form action=/executions/index/ method=post shouldn't it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: form action without mod rewrite

2006-05-31 Thread [EMAIL PROTECTED]
I've upgraded but my View was generated first and it does. I'll check it first next time Thanks you --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: form action without mod rewrite

2006-05-31 Thread clemos
hi all the following goes probably even further on the path to the cake way : ? echo $html-formTag(/executions/index/,post) ? doesn't it ? ++ clemos On 5/31/06, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote: Try doing it the cake way. form action=?php echo

Re: form action without mod rewrite

2006-05-31 Thread Larry E. Masters aka PhpNut
clemos,No the way I showed it is the cake way.-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @accesspublic*/ On 5/31/06, clemos [EMAIL PROTECTED] wrote: hi allthe following goes probably even further on the path to the cake way :?