Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-19 Thread HK
I know, but still you can do that and use .htaccess. I do that in my development server at home On Thursday, December 18, 2014 6:44:02 PM UTC+2, glk wrote: Sorry HK, but the docs show that Apache's DocumentRoot should be set the webroot folder! -- Like Us on FaceBook

Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-18 Thread HK
Shouldn't DocumentRoot E:/mydomaint/app/webroot be something like: DocumentRoot E:/mydomaint ?? On Wednesday, December 17, 2014 11:52:35 PM UTC+2, glk wrote: Thinking... I wanted to add the following info: VirtualHost *:8080 ServerName mydomain ServerAlias mydomain.tld

Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-18 Thread glk
Sorry HK, but the docs show that Apache's DocumentRoot should be set the webroot folder! From the 2.x Docs under Installation: Production A production installation is a more flexible way to setup CakePHP. Using this method allows an entire domain to act as a single CakePHP application.

Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-18 Thread John Andersen
Check the DocumentRoot statement - you have a t too much mydomaint should mydomain The same in your Directory statement :) Enjoy, John On Wednesday, 17 December 2014 23:52:35 UTC+2, glk wrote: Thinking... I wanted to add the following info: VirtualHost *:8080 ServerName mydomain

Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-18 Thread glk
://mydomain:8080/app/webroot/css/cake.generic.css echo $this-Html-css('cake.generic.css'); The line of code above creates a link like this when using pretty urls: link href=/app/webroot/css/cake.generic.css type=text/css rel= stylesheet which is nowhere to be found on the server since the domain

Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-17 Thread glk
, you’ll need to use CakePHP’s built-in pretty URLs. In /app/Config/core.php, uncomment the line that looks like: Configure::write('App.baseUrl', env('SCRIPT_NAME')); Also remove these .htaccess files: /.htaccess/app/.htaccess/app/webroot/.htaccess This will make your URLs look like

Re: Not allowed use mod_rewrite... Trying to get pretty urls to work... No css or js

2014-12-17 Thread glk
Thinking... I wanted to add the following info: VirtualHost *:8080 ServerName mydomain ServerAlias mydomain.tld DocumentRoot E:/mydomaint/app/webroot Directory E:/mydomaint/app/webroot Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All

Re: Pretty URLs

2012-06-05 Thread florin . catalin . trifu
-php@googlegroups.com Reply-To: cake-php@googlegroups.com Subject: Pretty URLs Hi In my application, if I want to access a link, the url in the browser will be something like http://application/controller/action/parameter:value. However, browsing on cakephp.org the urls are something like (and I

Re: Pretty URLs

2012-06-05 Thread AD7six
On Tuesday, 5 June 2012 13:17:39 UTC+2, Florin Trifu wrote: Can someone please help me with the questions I've asked in the email bellow? You are talking about routes http://book.cakephp.org/2.0/en/development/routing.html AD -- Our newest site for the community: CakePHP Video

Pretty URLs

2012-06-04 Thread Florin Trifu
/advanced-installation.html. I want my urls to look the same way, with that ending in .html, and that format like browsing directories. I would also want to show different names for the controllers and for the actions, I want them in my language and not in English. How can I do that? Are those pretty

pretty urls :)

2011-09-02 Thread Ricardo
Hi, I wonder how to do, in order to get my url look like www.mysite.com/mode/1290132 and not www.mysite.com/mode/index/1290132 thanks for the help :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: pretty urls :)

2011-09-02 Thread Ricardo_R
nevermind, routing.php did the trick. 2011/9/1 Ricardo mastermind...@gmail.com Hi, I wonder how to do, in order to get my url look like www.mysite.com/mode/1290132 and not www.mysite.com/mode/index/1290132 thanks for the help :) -- cccaf... -- Our newest site for the

Pretty URLs and Lighttpd

2011-03-21 Thread axel9641
Hi Folks I am new to CakePHP. I am going through the manual: http://book.cakephp.org/view/918/Pretty-URLs-and-Lighttpd where is explained that in order to use Pretty URLs in cakephp, we have to place a lua script in / etc/lighttpd/cake. But the big question is : Whereabouts in my project am I

Re: Pretty URLs and Lighttpd

2011-03-21 Thread AD7six
On Mar 21, 1:27 am, axel9641 axell9...@gmail.com wrote: Hi Folks  I am new to CakePHP. I am going through the manual:http://book.cakephp.org/view/918/Pretty-URLs-and-Lighttpd where is explained that in order to use Pretty URLs in cakephp, we have to place a lua script in / etc/lighttpd

Re: Pretty URLs and Lighttpd

2011-03-21 Thread gremlin
the manual:http://book.cakephp.org/view/918/Pretty-URLs-and-Lighttpd where is explained that in order to use Pretty URLs in cakephp, we have to place a lua script in / etc/lighttpd/cake. But the big question is : Whereabouts in my project am I supposed to place it??? lua scripts

Re: Pretty URLs don't work without .htaccess ?

2010-01-30 Thread stefano
here in 2006, as far as I can tell.  I'd like to know if anything has changed since then. Are pretty URLs available without using .htaccess?  For example, with my Apache document root set to my app's webroot dir, a controller items and an action view, and scaffolding on, I would expect

Re: Pretty URLs don't work without .htaccess ?

2010-01-29 Thread AD7six
On Jan 29, 8:55 am, AD7six andydawso...@gmail.com wrote: On Jan 29, 3:35 am, Johnny Cupcake sparklew...@hotmail.com wrote: Why did I disable mod_rewrite in the first place?  Well, the core config file says pretty URLs are available regardless (see line 48), so I figured I'd keep

Re: Pretty URLs don't work without .htaccess ?

2010-01-29 Thread robustsolution
Some web hosting companies do not allow the use of htaccess on shared servers, and sometimes they allow you to use it on linux machines not windows! I think Marcelo has the right answer for this kind of situation Check out the new CakePHP Questions site http://cakeqs.org and help others with

Re: Pretty URLs don't work without .htaccess ?

2010-01-28 Thread Johnny Cupcake
.  I'd like to know if anything has changed since then. Are pretty URLs available without using .htaccess?  For example, with my Apache document root set to my app's webroot dir, a controller items and an action view, and scaffolding on, I would expect something to be available athttp

Re: Pretty URLs don't work without .htaccess ?

2010-01-28 Thread AD7six
mod_rewrite and just pray all these problems disappear. Any path problems inevitably stem from having your config badly defined. Are pretty URLs available without using .htaccess? yes Are pretty URLs available without using mod_rewrite on apache? no Did you disable mod_rewrite for a reason? You

Re: Pretty URLs don't work without .htaccess ?

2010-01-28 Thread Marcelo Andrade
On Wed, Jan 27, 2010 at 9:34 PM, Miles J mileswjohn...@gmail.com wrote: Yes .htaccess is required because its uses mod_rewrite. If you didn't your URLs would be like so: index.php?url=/items/view/ If you uncomment App.baseUrl in core, you can get URLs like index.php/items/view/. Atts. --

Re: Pretty URLs don't work without .htaccess ?

2010-01-28 Thread Johnny Cupcake
Why did I disable mod_rewrite in the first place? Well, the core config file says pretty URLs are available regardless (see line 48), so I figured I'd keep complexity to a minimum. Having re-enabled mod_rewrite, both the problems I listed above are resolved. On Jan 28, 4:24 pm, AD7six andydawso

Re: Pretty URLs don't work without .htaccess ?

2010-01-28 Thread AD7six
On Jan 29, 3:35 am, Johnny Cupcake sparklew...@hotmail.com wrote: Why did I disable mod_rewrite in the first place?  Well, the core config file says pretty URLs are available regardless (see line 48), so I figured I'd keep complexity to a minimum. I think you misunderstood the comment

Pretty URLs don't work without .htaccess ?

2010-01-27 Thread Johnny Cupcake
This issue was last discussed here in 2006, as far as I can tell. I'd like to know if anything has changed since then. Are pretty URLs available without using .htaccess? For example, with my Apache document root set to my app's webroot dir, a controller items and an action view, and scaffolding

Re: Pretty URLs don't work without .htaccess ?

2010-01-27 Thread Miles J
changed since then. Are pretty URLs available without using .htaccess?  For example, with my Apache document root set to my app's webroot dir, a controller items and an action view, and scaffolding on, I would expect something to be available athttp://myserver.com/items/view

Re: pagination, pretty URLs, and route

2009-11-23 Thread axe6584
You must add one of the following at the begining of your router.php configuration file in order to use the 'page' parameter in url and get your url parsed by the router. This comment come from the Router class itself: * Do not parse any named parameters: * {{{ Router::connectNamed(false);

Using Pretty URLs on Windows

2009-09-30 Thread Kamran Hameed
Folks i am new to CakePHP. I am going through the manual which assumes that the user is on Linux Or Unix System. I want to ask one question http://book.cakephp.org/view/782/Lighttpd-and-mod_magnet LINK says that in order to use Pretty URLs in cakephp, place this lua script in / etc/lighttpd

Re: Using Pretty URLs on Windows

2009-09-30 Thread Kevin Wentworth
camran.ham...@gmail.com wrote: Folks i am new to CakePHP. I am going through the manual which assumes that the user is on Linux Or Unix System. I want to ask one question http://book.cakephp.org/view/782/Lighttpd-and-mod_magnetLINK says that in order to use Pretty URLs in cakephp, place this lua

Configure CakePHP not to use Pretty Urls

2009-01-27 Thread PaulMan
Hello everybody, Is there a way to configure CakePHP NOT to use Pretty Urls? I'm using the latest version. Best Regards PM --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: Configure CakePHP not to use Pretty Urls

2009-01-27 Thread Sam Sherlock
config.core.php - line 59(ish) 2009/1/28 PaulMan pho...@gmail.com Hello everybody, Is there a way to configure CakePHP NOT to use Pretty Urls? I'm using the latest version. Best Regards PM --~--~-~--~~~---~--~~ You received this message because you

Re: Pretty urls not working

2008-05-19 Thread Marcos Aruj
=controller/action (no slash before controller) Let us know. -Erik On May 15, 6:44 pm, Markitusss [EMAIL PROTECTED] wrote: Hi all, I've been trying to run cake on a godaddy hosting service. mod_rewrite is not available, so I set up cake to use its Pretty URLs, by uncommenting the line inside

Re: Pretty urls not working

2008-05-16 Thread Esoteric
Try: www.mysite.com/index.php?url=controller/action (no slash before controller) Let us know. -Erik On May 15, 6:44 pm, Markitusss [EMAIL PROTECTED] wrote: Hi all, I've been trying to run cake on a godaddy hosting service. mod_rewrite is not  available, so I set up cake to use its Pretty

Re: Pretty urls not working

2008-05-16 Thread Marcos Aruj
. mod_rewrite is not available, so I set up cake to use its Pretty URLs, by uncommenting the line inside core.php and by deleting .htaccess files. I got the index page to perfectly, with CSS styling and connection to the database, but I can't access controllers/actions. I get a 404 not found. I

Re: Pretty urls not working

2008-05-16 Thread Marcos Aruj
/index.php?url=controller/action (no slash before controller) Let us know. -Erik On May 15, 6:44 pm, Markitusss [EMAIL PROTECTED] wrote: Hi all, I've been trying to run cake on a godaddy hosting service. mod_rewrite is not available, so I set up cake to use its Pretty URLs, by uncommenting

Pretty urls not working

2008-05-15 Thread Markitusss
Hi all, I've been trying to run cake on a godaddy hosting service. mod_rewrite is not available, so I set up cake to use its Pretty URLs, by uncommenting the line inside core.php and by deleting .htaccess files. I got the index page to perfectly, with CSS styling and connection to the database

Pretty URLs

2008-03-07 Thread jam
Cannot get the pretty urls to work. I have removed the htaccess files, and uncommented the BASE_URL in core.php but hopeless. Cant even get the un-pretty urls to work. The url populates with the referes page contoller and function. Please check http://www.ubiview.eu/index.php/users/login

Re: Pretty URLs

2008-03-07 Thread b logica
What does your $form-create() line look like? You're getting: form action=/index.php/users/login which doesn't look right. Although, you said you've removed htacess files--why is that? On Fri, Mar 7, 2008 at 9:00 AM, jam [EMAIL PROTECTED] wrote: Cannot get the pretty urls to work. I have

Re: pagination, pretty URLs, and route

2008-03-03 Thread AD7six
On Mar 3, 7:03 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm using Andy's PaginationComponent in an admin action. The first page loads fine but something's wrong with the route that's causing an error. Here's the setup: ($page and $show would be set from $this-params or a default)

Re: pagination, pretty URLs, and route

2008-03-03 Thread b logica
Right, I do know the difference between passedArgs params; I was getting mixed up because I'd been trying all sorts of combinations. I'll ditch the component and try the built-in. I'm not exactly sure why I wasn't using that in the first place. thanks On Mon, Mar 3, 2008 at 6:24 AM, AD7six

pagination, pretty URLs, and route

2008-03-02 Thread [EMAIL PROTECTED]
I'm using Andy's PaginationComponent in an admin action. The first page loads fine but something's wrong with the route that's causing an error. Here's the setup: ($page and $show would be set from $this-params or a default) $criteria = null; $parameters = array('page' = $page); $options =

Re: Pretty URLs Output Problem

2007-06-05 Thread [EMAIL PROTECTED]
My mistake, I should have looked a little harder in the threads! On Jun 4, 2:11 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello bakers, I am moving an application from my testing server to a production server and mod_rewrite seemed to be acting funny (wasn't finding the CSS file,

Pretty URLs Output Problem

2007-06-04 Thread [EMAIL PROTECTED]
Hello bakers, I am moving an application from my testing server to a production server and mod_rewrite seemed to be acting funny (wasn't finding the CSS file, looking for files in the wrong place), so I switched to using the cake pretty URLs. This solved the CSS problem, but for instance, when

Pretty URLs: advice needed!

2007-04-29 Thread TM
Hi there, I am wondering how we can achieve such pretty URLs below with CakePHP... 1- www.mydomain.com/accounting/accounting-overview-ACCA.html 2- www.mydomain.com/accounting/ledger-details.html 3- www.mydomain.com/accounting/how-to-make-double-entry-system.html 4- www.mydomain.com/services

Re: Pretty URLs: advice needed!

2007-04-29 Thread TM
Let me clear a bit more, for the first link accounting is the category of a post titled (or URL taged as) accounting-overview-ACCA Any luck with such URLs with Cake Cheers! TM On Apr 29, 4:52 pm, TM [EMAIL PROTECTED] wrote: Hi there, I am wondering how we can achieve such pretty URLs

Re: Pretty URLs: advice needed!

2007-04-29 Thread Dr. Tarique Sani
: Hi there, I am wondering how we can achieve such pretty URLs below with CakePHP... 1-www.mydomain.com/accounting/accounting-overview-ACCA.html 2-www.mydomain.com/accounting/ledger-details.html 3-www.mydomain.com/accounting/how-to-make-double-entry-system.html 4-www.mydomain.com

Re: Pretty URLs Develpoment Installation Problem

2006-11-18 Thread josh southern
I got mod_rewrite turned on, so the links above don't help solve the problem. I'd still like to know if anyone has seen the /cgi-php/phpwrapper thing before, though... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Pretty URLs Develpoment Installation Problem

2006-11-17 Thread josh southern
I'm trying to get a development install up and running on a shared server (No mod_rewrite or access to the httpd.conf file), but am having problems with: define ('BASE_URL', env('SCRIPT_NAME')); This line in the core.php file, which usually allows me to run a development install when there is