Dumb Apache/LAMP question

David Thornton northdot9-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sun Feb 9 05:39:03 UTC 2014


Option +Indexes, or possibly DirectoryIndex need index.php for the path in
question.

David Thornton



On Sun, Feb 9, 2014 at 12:13 AM, ted leslie <ted.leslie-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org> wrote:

> gttp://foo.bar/[whatever_path}/  ?
> above refers to a path not content, is this the issue? try to ref. a image
> in the dir.
>
> It sounds like a MVC issue , just relating it to what i do in asp.net on
> Mono on linux. I assume php can be set up for MVC, and the path should
> relate your controller, and like with asp.net (even on apache), it
> wouldn't be the View of the file as per normal apache View (unless
> the controller passes on it), it would be the View dictated by the
> controller (and thus by the path).
> If you are not doing MVC, then this isn't the issue.
>
> -tl
>
>
> On Sat, Feb 8, 2014 at 11:45 PM, Evan Leibovitch <evan-ieNeDk6JonTYtjvyW6yDsg at public.gmane.org> wrote:
>
>> I'm having a total brain fart right now with a site.
>>
>> It's running Wordpress. Pages that explicitly end in .php are found and
>> run fine, anything else (which is most of the CMS content) is just giving a
>> file-not-found 404.
>>
>> so
>>
>> http://foo.bar/[whatever_path]/foo.php
>> works fine, but
>> gttp://foo.bar/[whatever_path}/
>> gives a 404 file not found, even if the path is correct inside the CMS
>> (I know it's inside the CMS because the .php files on the admin side work
>> fine.
>>
>> What's missing? What is done to make the content fetched from the CMS
>> rather than the Apache filesystem?
>>
>> Any help is appreciated.
>>
>> --
>> Evan Leibovitch
>> Toronto Canada
>>
>> Em: evan at telly dot org
>> Sk: evanleibovitch
>> Tw: el56
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/legacy/attachments/20140209/5f29ba46/attachment.html>


More information about the Legacy mailing list