Apache question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Veiga
    Confirmed User
    • Jun 2001
    • 157

    #1

    Apache question

    Is there a way to have apache parsing php or perl code without having the filename extension on the conf. files?
    Sell me your portuguese Traffic!
    Euro Luso
  • Mark
    Confirmed User
    • Jul 2001
    • 600

    #2
    you could try asking on
    xxxtech.com which is as its name suggests a tech specific forum and so populated by geeks that know all sorts of weird shit.. ;)

    Comment

    • Veiga
      Confirmed User
      • Jun 2001
      • 157

      #3
      here i get all kinds of geeks..

      damn..i need to register.

      can't i put a guest topic?
      Sell me your portuguese Traffic!
      Euro Luso

      Comment

      • FATPad
        Confirmed User
        • Oct 2001
        • 6693

        #4
        Put it in an htaccess file for the directories you need the files parsed in.
        <a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a>

        Comment

        • Veiga
          Confirmed User
          • Jun 2001
          • 157

          #5
          Like this:
          AddType application/x-httpd-php html htm
          ?
          Sell me your portuguese Traffic!
          Euro Luso

          Comment

          • FATPad
            Confirmed User
            • Oct 2001
            • 6693

            #6
            Yep. Just make sure you have the dot in front of the file extension. I think that's necessary, although I could be wrong. heh.

            I think this is for parsing files for php:
            AddHandler application/x-httpd-php .html .htm

            and this is for parsing html files for SSI calls:
            AddHandler server-parsed .html
            <a href="http://www.adultcontent.co.uk">Adult Content UK - Great British Content</a>

            Comment

            • Veiga
              Confirmed User
              • Jun 2001
              • 157

              #7
              Ok, got it!
              Thank you very much.
              Sell me your portuguese Traffic!
              Euro Luso

              Comment

              Working...