Thread7 Posted January 18, 2008 Share Posted January 18, 2008 It is hard to google this question so I thought I would just ask it straight away. How do I set up a Linux server so that it executes PHP pages but actually does not show the .PHP in the URL. I've seen it before I just don't know how they did it. Maybe this is more of an Apache question than PHP. Quote Link to comment https://forums.phpfreaks.com/topic/86644-non-standard-server-setup/ Share on other sites More sharing options...
GingerRobot Posted January 18, 2008 Share Posted January 18, 2008 It's an Apache setting. Find this line in your http.conf: AddType application/x-httpd-php .php And add a line below, changing .php to the extension you wish to use. Quote Link to comment https://forums.phpfreaks.com/topic/86644-non-standard-server-setup/#findComment-442766 Share on other sites More sharing options...
Daniel0 Posted January 18, 2008 Share Posted January 18, 2008 I s/he is referring to clean URLs. Quote Link to comment https://forums.phpfreaks.com/topic/86644-non-standard-server-setup/#findComment-442774 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.