Are there alternative extension options with .php?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matt MC

    Are there alternative extension options with .php?

    Are there any alternatives to the .php file extension that will call
    it, such as page.xyz? ....or does that need to be setup at the server
    administration level, or is this not possible at all?

  • Good Man

    #2
    Re: Are there alternative extension options with .php?

    "Matt MC" <mattsimc@yahoo .com> wrote in news:1109904927 .432287.102800
    @g14g2000cwa.go oglegroups.com:
    [color=blue]
    > Are there any alternatives to the .php file extension that will call
    > it, such as page.xyz? ....or does that need to be setup at the server
    > administration level, or is this not possible at all?[/color]

    you need to set it up on the server... ie: if you are using Apache, you can
    specify ".xyz" to be parsed by PHP in "httpd.conf " ... not sure how to do
    it on IIS.

    Comment

    • Matt MC

      #3
      Re: Are there alternative extension options with .php?


      This network is running Apache. If I am a customer, is this is
      something the owner of the network would have to implement -- nothing I
      could do on my own - right?

      Comment

      • Matt MC

        #4
        Re: Are there alternative extension options with .php?

        This network is running Apache. If I am a customer, is this is
        something the owner of the network would have to broadly implement --
        nothing I could do for my space only?

        Comment

        • Matt MC

          #5
          Re: Are there alternative extension options with .php?

          This network is running Apache. If I am a customer, is this something
          the owner of the network would have to broadly implement -- nothing I
          could do for my space only?

          Comment

          • Chris Hope

            #6
            Re: Are there alternative extension options with .php?

            Matt MC wrote:
            [color=blue]
            > This network is running Apache. If I am a customer, is this something
            > the owner of the network would have to broadly implement -- nothing I
            > could do for my space only?[/color]

            Depending on what restrictions the host has in place you may be able to
            implement this via an .htaccess file.

            From my other post, you'd add this to an .htaccess file in your
            website's root directory:
            AddType application/x-httpd-php .xyz

            Is there some reason you keep posting your messages multiple times?

            --
            Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/

            Comment

            • Disco Octopus

              #7
              Re: Are there alternative extension options with .php?

              Matt MC wrote :[color=blue]
              > Are there any alternatives to the .php file extension that will call
              > it, such as page.xyz? ....or does that need to be setup at the server
              > administration level, or is this not possible at all?[/color]

              if you dont have access to you http.conf then you can simply create
              your .php files as normal, but modify your .htaccess file to tell the
              server to treat these requests (with a different .ext) as actuall .php
              files using the mod rewrite

              sofor example, when you go to www.example.com/mypage.scrunt the mod
              rewrite rule in your htaccess file would point the the file



              not sure the exact syntax OTTOMH but look up


              --
              if you pay for your gym memebership, use it

              Comment

              • Matt MC

                #8
                Re: Are there alternative extension options with .php?

                Posted thru Google and made some corrections. You must be on a regular
                Usenet feed? ;)

                Comment

                Working...