cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
534
Views
0
Helpful
1
Replies

Pix 501 and using PHP includes with domain name

comptech520
Level 1
Level 1

Hi,

I'm really new to using a firewall, and need some help.

I have a leased PIX 501.

When I had this added to my server, my PHP  includes on my website that use the URL <?php include ('http://www.mydomain.com/footer.php');?>

those files show up as not found.

I really don't have the option to make the paths relative, do you have any ideas? My support told me that I can add some rules to the firewall and that should cure this problem.

Thanks!

1 Reply 1

busterswt
Level 1
Level 1

You may need to enable DNS doctoring to get this working properly. If you're using static NAT translations you'll need to remove the NAT entry and re-enter it with 'dns' tacked on at the end.

FROM:

static (inside,outside) 66.55.12.33 192.168.1.33 netmask 255.255.255.255

TO:

static (inside,outside) 66.55.12.33 192.168.1.33 netmask 255.255.255.255 dns

After re-entering the entry you may need to clear the xlate as well.
Good luck!
James

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card