Question : viewing internat php page on apacher server through page viewer webpart

We have an internal apache server on our network producing information from an access database and presenting it through a php page in a browswer, the address is:-http://localhost/wp/eswp/wpsrch.php (when viewed through a local browser on the apache machine).
What do we need to type in as the path in the page viewer webpart to view this page.
or even a browser on another computer?
When we type in the above path it cannot find it, when we type in the actual share/computer path name it just shows the files.
I hope this makes sense.

Answer : viewing internat php page on apacher server through page viewer webpart

Step 1: Open the apache configuration file located inside apache/conf directory, the file name is httpd.conf

Step 2: Add the below line between the {put the code here}

Allow from All

Note: Directory tag will be already  there inside the configuration file, no need to create this tag again.

Also uncomment if any line like below with hash symbol in front of it

Deny from all

Step 3: Restart the localhost web server

Step 4: Access the page with the following url

http://< Host IP Address>/wp/eswp/wpsrch.php

You should be able to see the web page


Kindly let me know if you have any questions

Random Solutions  
 
programming4us programming4us