On Fri, 2003-04-04 at 00:27, Erin! wrote:
> similar question...  also having same problem, but another problem as
> well...  
> 
> i'm trying to develop in php...  (brand new to it)...  i have apache
> and php installed on my computer.  however, if i try to open a php
> script in mozilla, it just shows me the code.  i'm not even navigating
> to it...  i'm just doing the open --> file system, and it gives me
> this problem.  I tried looking through google groups, but couldn't
> come up with any search terms that didn't come up with over a hundred
> results.  i looked through the first few, but none of them had
> anything relevant.  so, i thought maybe someone here has had this
> problem before... :) 

Make sure that your php scripts start php code with <?php instead of
<?.  By default the newer versions of php behave this way, although you
can configure /etc/php.ini to allow the shorter tag form.

Michael


> 
> thanx for all the help i've had so far!!!  this list is wonderful!!! 
> 
> ~Erin 
> 
>  Michael Torrie <[EMAIL PROTECTED]> wrote: 
>         On Thu, 2003-04-03 at 20:47, Kurt Didenhover wrote:
>         > I'm trying to set up a local web server for development
>         purposes and I 
>         > want easy access to the files being served, so I made a
>         public_html 
>         > directory in my home directory and pointed my webserver to 
>         > localhost/~username, but I get a 403 Forbidden Access error.
>         Has anyone 
>         > had this happen before?
>         > 
>         > I'm running Red Hat 8.0 with the Apache server that came on
>         the install CDs.
>         > 
>         
>         I think you have to uncomment the appropriate lines in
>         httpd.conf. 
>         Something about public_html I imagine. RedHat has user web
>         directory
>         stuff off by default.
>         
>         Michael
>         
>         
>         > Thanks
>         
>         _______________________________________________
>         newbies mailing list
>         [EMAIL PROTECTED]
>         http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
> 
> 
> ?The pledge of allegiance to the flag is a pledge to the ideals of our
> forefathers, the men who fought and died in the building of this great
> nation. It is a pledge to fulfill our duties and obligations as
> citizens of the United States, and to uphold the principles of our
> constitution. And last but not least, it is a pledge to maintain the
> four great freedoms treasured by all Americans: freedom of speech,
> freedom of religion, freedom from want, and freedom from fear.?
> ~Lee Greenwood
> 
> 
> 
> ______________________________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more

_______________________________________________
newbies mailing list
[EMAIL PROTECTED]
http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies

Reply via email to