|
Posted by dorayme on 12/01/06 01:59
In article
<doraymeRidThis-56F09B.10191601122006@news-vip.optusnet.com.au>,
dorayme <doraymeRidThis@optusnet.com.au> wrote:
> In article <301120060254459241%user@unknown.invalid>,
> Koncept <user@unknown.invalid> wrote:
>
> > In article
> > <doraymeRidThis-D79343.13195030112006@news-vip.optusnet.com.au>,
> > dorayme <doraymeRidThis@optusnet.com.au> wrote:
> >
> > > I simply got stuck here, there being no obvious one file to
> > > remove #s from my computer
> >
> > Open up terminal /Applications/Utilities/Terminal.app
> >
> > paste this next line and hit return:
> >
> > open /etc/httpd/
> >
> > You should see a whole bunch of files now in the folder that just
> > opened in the Finder. You are looking to edit the file httpd.conf with
> > a good code editor. http://macromates.com (textmate ) or barebones.com
> > (bbedit or textwrangler ). The advantage of editing with these apps is
> > that they will prompt you for authorization needed when saving the
> > file.
> >
> > If you have any other issues, let me know and I can walk you through
> > whatever you need.
>
>
Following my last post, a bit further progress. I had trouble
starting the server after making changes and discovered I had
uncommented in the last block at bottom (the one you thought I
might not have at all) what I probably should not have - real
comments! I had misunderstood. It _was_ just as your supplied
text and so I now leave it as is. I have been able to restart the
server (I do it via the Sys Pref panel). If I use .php in html
file name, it has a good go at it now! But it cannot find the
includes folder.
I have things working fine after various efforts on a remote
commercial server. But it is the local server on this machine of
mine I want it now to work on.
I summmarise 2 outstanding problems:
(1) I use the following code in the includes:
<?php include ($_SERVER['DOCUMENT_ROOT'].'/includes/footer.inc');
?>
but this stumps my server.
(2) I want for the engine to look at all .html files (for now, I
do not want to use .php). On my remote commercially hired
servers, I think I used a .htaccess file to achieve this. Shall i
do this on local machine or surely there is a more elegant built
in way?
I would appreciate help to solve these two outstanding probs.
--
dorayme
[Back to original message]
|