LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache question (https://www.linuxquestions.org/questions/linux-software-2/apache-question-318535/)

GTbikr84 04-29-2005 04:34 PM

apache question
 
I was wondering if it is possible to set up apache so that when i enter the document root into a browser it processes my PHP as if i had entered the server IP.

Example:
If I enter /usr/local/apache2/htdocs/page.php it displays the HTML but not anything generated by PHP.
If I enter 127.0.0.1/page.php it will display the PHP.

Is it possible to get the first example to work the same as the second.

reddazz 04-29-2005 04:45 PM

Thats not possible, php pages have to be processed on the web server first before being shown on the web browser unlike plain html files.


All times are GMT -5. The time now is 09:52 AM.