i want to change (.php) to my own extension like (.abc) and it should work like php page in lighttpd server in ubuntu os.
Anybody knows how to do this?

6 Months
Discussion Span
Last Post by rproffitt

In terminal it will work.I know that.But i am talking about browser view about a website page.


It also works there. Your web server calls the scripts so you configure your site to use the new extension. This is not a PHP issue at all.


I donot know how to configure that in lighttpd.I have tried different methods but it dnt work for me.I have tried using adding some codes in (.htaccess) file.but it didnot work for me.

Edited by Jiby_1


Time to hit the documentation?

Do you see where to add your .abc to where in the docs at https://redmine.lighttpd.net/projects/1/wiki/TutorialConfiguration

I can't tell you this as I want to know if you understand the basics. You must figure this out since you're going to have to run this non-standard setup.

Frankly, don't do this. No good reason given so far but as an exercise, you get to dive into the docs of lighttpd and next maybe some PHP config.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.