To edit the config, you could use a program like "nano"

Commands to run:

cd /path/to/apache
nano -w httpd.conf
Now edit the file as described.
To save: ctrl+x
Choose "y" to save
Restart apache.

-----------------------------------
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder/Owner

-----Original Message-----
From:  Graham Frank
Date:  12/10/05 4:06 pm
To:  users@httpd.apache.org
Subj:  RE: [EMAIL PROTECTED] PHP Problem

All you need to do is paste the line provided in the previous email anywhere in 
the config.  A good spot to place it, so that you know it's right, is say the 
line right before NameVirtualHost.

-----------------------------------
Graham Frank
(608) 359-1593
Neoservers LLC - http://www.neoservers.com/
Founder/Owner

-----Original Message-----
From:  Todd Hofert
Date:  12/10/05 3:49 pm
To:  users@httpd.apache.org
Subj:  RE: [EMAIL PROTECTED] PHP Problem

Anyone?????   please.... This can't be stumping everyone.

________________________________

From: Todd Hofert [mailto:[EMAIL PROTECTED]
Sent: Fri 12/9/2005 8:46 AM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] PHP Prolem


I apologize for my ignorance but I still cannot make this work. Can someone 
please offer specific direction on how to edit the .conf file to allow my 
appache server to properly display php files in browsers?

Thanks
Todd

________________________________

From: myhapwcforever [mailto:[EMAIL PROTECTED]
Sent: Thu 12/8/2005 9:06 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] PHP Prolem


AddType application/x-httpd-php .php

I met with your problem.And add it. ;)
---- Original Message -----

        From: Todd Hofert <mailto:[EMAIL PROTECTED]>
        To: users@httpd.apache.org
        Sent: Thursday, December 08, 2005 8:57 PM
        Subject: RE: [EMAIL PROTECTED] PHP Prolem

        Where do I add this? I added it in the section that previously read:

        <IfModule mod_dir.c>
            DirectoryIndex index.html
        </IfModule>

        Doing so now just opens the php file as text in the browser window.

        Thanks in advance.
        Todd

________________________________

        From: ludi [mailto:[EMAIL PROTECTED]
        Sent: Wednesday, December 07, 2005 9:37 PM
        To: users@httpd.apache.org
        Subject: Re: [EMAIL PROTECTED] PHP Prolem


        AddType application/x-httpd-php .php
        DirectoryIndex index.html index.html.var index.php
        Add to the httpd.conf


        2005/12/8, Todd Hofert <[EMAIL PROTECTED]>:

                I just installed Apache 1.3 on local computer. I am now trying 
to install Zen-Cart and when I access the appropriate directory the result is a 
directory listing. The directions indicate that if you get a directory listing 
you should speak to your Hosting Site about how to setup your server to 
auto-detect PHP filename extensions.

                So since I am the host, how do I configure Apache to 
auto-detect PHP filename extensions?

                Thanks
                Todd

                This e-mail and any attachments may contain confidential and 
privileged
                information. If you are not the intended recipient, please 
notify the
                sender immediately by return e-mail, delete this e-mail and 
destroy any
                copies. Any dissemination or use of this information by a 
person other
                than the intended recipient is unauthorized and may be illegal.

                
---------------------------------------------------------------------
                The official User-To-User support forum of the Apache HTTP 
Server Project.
                See <URL:http://httpd.apache.org/userslist.html> for more info.
                To unsubscribe, e-mail: [EMAIL PROTECTED]
                   "   from the digest: [EMAIL PROTECTED]
                For additional commands, e-mail: [EMAIL PROTECTED]




        This e-mail and any attachments may contain confidential and privileged 
information. If you are not the intended recipient, please notify the sender 
immediately by return e-mail, delete this e-mail and destroy any copies. Any 
dissemination or use of this information by a person other  than the intended 
recipient is unauthorized and may be illegal.





This e-mail and any attachments may contain confidential and privileged
information. If you are not the intended recipient, please notify the
sender immediately by return e-mail, delete this e-mail and destroy any
copies. Any dissemination or use of this information by a person other
than the intended recipient is unauthorized and may be illegal.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to