473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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?

Jul 17 '05 #1
7 5890
"Matt MC" <ma******@yahoo.com> wrote in news:1109904927.432287.102800
@g14g2000cwa.googlegroups.com:
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?


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.
Jul 17 '05 #2

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?

Jul 17 '05 #3
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?

Jul 17 '05 #4
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?

Jul 17 '05 #5
Matt MC wrote:
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?


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/
Jul 17 '05 #6
Matt MC wrote :
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?


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
www.example.com/mypage.php
not sure the exact syntax OTTOMH but look up
http://google.com/search?q=htaccess+mod+rewrite

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

Jul 17 '05 #7
Posted thru Google and made some corrections. You must be on a regular
Usenet feed? ;)

Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Roberts | last post by:
Hi, I managed to get the Java extension working on php 4.3.10 after following various bits of advice from http://www.thelinuxpimp.com/main/modules.php?op=modload&name=News&file=article&sid=419...
46
by: Robin Becker | last post by:
It seems that the rotor module is being deprecated in 2.3, but there doesn't seem to be an obvious alternative. I'm using it just for obfuscation. It seems we have ssl available in 2.3 for sockets,...
10
by: John Underwood | last post by:
Can I use python23_d and python23 to develop an extension for a commercial application uses python22.dll? (Providing that I do not use any new features found only in 2.3.) I would bulld version...
99
by: Paul McGuire | last post by:
There are a number of messages on the python-dev mail list that indicate that Guido is looking for some concensus to come from this list as to what *one* alternative syntax for decorators we would...
6
by: Jacek Generowicz | last post by:
I would like some of my _dynamically_ created new-style classes to have instances which are not represented by the standard PyObject, but one which has an extra void* slot which I want to use for...
62
by: christopher diggins | last post by:
Since nobody responded to my earlier post , I thought I would try to explain what I am doing a bit differently. When multiply inheriting pure virtual (abstract) base classes, a class obviously...
20
by: Tammy | last post by:
What would be a good alternative to using frames? I need something that will section my webpage into two halves and can change both frames on a single click. Thanks in Advance, Tammy
1
by: abilashnn | last post by:
'm attempting to send a mailto: and include a link in the body. Has anyone done this? I have one problem with this. One appln have a link to send an email using “mailto:”. Previosly this...
54
by: Bartc | last post by:
I'm mixing C and ASM, and for calling ASM from C, I just happened to use the __stdcall convention (using C convention is not practical for other reasons). But, __stdcall seems to assume that...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.