PassMark Logo
Home » Forum

Process .php, .htm files as PHP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpm
    Junior Member
    • Nov 2011
    • 2

    #1

    Process .php, .htm files as PHP

    I have this command in my .htaccess file:

    # Process .php, .htm files as PHP
    AddType application/x-httpd-php .php .htm

    When I try to Spider my site (Zoom 6.0 build 1027), it only indexes the 1st page: index.htm

    index.htm includes PHP code to a menu:

    <ul>
    <li><a href="index.htm" title="Home">Home</a></li>
    <li><a href="contact-us.htm" title="Contact Us">Contact Us</a></li>
    <li><a href="hours.htm" title="Hours">Hours</a></li>
    etc.

    However, it seems to not include / find these other pages.

    What else may be missing ?

    Thanks,
    James
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    Are you indexing in spider mode or offline mode?
    For PHP files you'll need to use Spider mode.

    Did you check the log for warnings or errors?

    Comment

    • jpm
      Junior Member
      • Nov 2011
      • 2

      #3
      Spider Mode.

      I re-ran the program again today and now it's working -- it's like I must have needed to exit the program and re-enter it ??

      Thanks for the help !

      Comment

      • David
        Administrator
        • Dec 2004
        • 4714

        #4
        Should be no need for a restart. But maybe when you restarted it loaded a different config file and fixed up some of the settings.

        Comment

        Working...