2009/2/17 Paul M Foster :
> Well, the only way I know this is to look at the Apache logs. I was
> getting a lot of 3xx and 4xx errors (which don't show up directly in the
> browser), and looking at the requests, it appears that the browser is
> indeed dictating the place to find images, etc., based
On Tue, Feb 17, 2009 at 12:27:58PM +, Stuart wrote:
> 2009/2/17 Paul M Foster :
> > On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
> >
> >
> >
> >> This is your problem, you're not understanding where the paths are
> >> being resolved. Apache has absolutely no involvement in resolvin
2009/2/17 Paul M Foster :
> On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
>
>
>
>> This is your problem, you're not understanding where the paths are
>> being resolved. Apache has absolutely no involvement in resolving
>> relative paths in your HTML files to absolute URLs. The browser do
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
>
> The index.php calls has code to decode the url segments
> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
> the method is bravo, and converts charlie and delta to $_GET['charlie']
>
Paul M Foster wrote:
> On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
>
> FWIW, I've been doing computers since before the CP/M days
> (pre-pre-DOS), so I do know the difference between absolute and relative
> paths.
>
> I'm a little doubtful about the browser specifying things like the
On Mon, Feb 16, 2009 at 08:34:22PM +, Stuart wrote:
> This is your problem, you're not understanding where the paths are
> being resolved. Apache has absolutely no involvement in resolving
> relative paths in your HTML files to absolute URLs. The browser does
> this. All you need to do is us
On Mon, Feb 16, 2009 at 08:53:24PM +, Ashley Sheridan wrote:
> I've read through this thread and not noticed anyone mention the
> tag. This allows you to specify a URL to which relative ones are mapped
> to, which could be just what you're looking for, as I believe all the
> browsers suppor
2009/2/16 Ashley Sheridan :
> On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
>> 2009/2/16 Paul M Foster :
>> > On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>> >
>> >>
>> >>> I'm submitting a url like this:
>> >>>
>> >>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>> >>>
>> >
On Mon, 2009-02-16 at 20:34 +, Stuart wrote:
> 2009/2/16 Paul M Foster :
> > On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
> >
> >>
> >>> I'm submitting a url like this:
> >>>
> >>> http://mysite.com/index.php/alfa/bravo/charlie/delta
> >>>
> >>> The index.php calls has code to deco
2009/2/16 Paul M Foster :
> On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>
>>
>>> I'm submitting a url like this:
>>>
>>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>>>
>>> The index.php calls has code to decode the url segments
>>> (alfa/bravo/charlie/delta). It determines t
On Mon, Feb 16, 2009 at 07:30:57PM +0200, Thodoris wrote:
>
>> I'm submitting a url like this:
>>
>> http://mysite.com/index.php/alfa/bravo/charlie/delta
>>
>> The index.php calls has code to decode the url segments
>> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
>> the m
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and converts charlie and delta to $_GET['charlie']
= 'delta'.
Symfony uses exactly this method for pretty urls. Check it out. Maybe it has
everything you want :). Have a look at symfony's .htaccess rewrite rules at
least. You have a few possibilities here: You can make ur own rewrite for
urls that contain index.php or rewrite
http://mysite.com/alfa/bravo/char
Paul M Foster wrote:
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
Why would you want to do such a thing?
If you want parameters in the filename without using get, use
mod_rewrite and explode the page name - and use a delimiter or than a /
- IE use a
2009/2/16 Paul M Foster :
> I'm submitting a url like this:
>
> http://mysite.com/index.php/alfa/bravo/charlie/delta
>
> The index.php calls has code to decode the url segments
> (alfa/bravo/charlie/delta). It determines that the controller is alfa,
> the method is bravo, and converts charlie and d
I'm submitting a url like this:
http://mysite.com/index.php/alfa/bravo/charlie/delta
The index.php calls has code to decode the url segments
(alfa/bravo/charlie/delta). It determines that the controller is alfa,
the method is bravo, and converts charlie and delta to $_GET['charlie']
= 'delta'. It
16 matches
Mail list logo