Fedora Linux Support Community & Resources Center
  #1  
Old 27th June 2007, 04:51 PM
blckspder Offline
Registered User
 
Join Date: Mar 2005
Posts: 61
FC6 WebServer ForceType problem

Hello,
I have a web server set up on my FC6 box with apache, MySQL, and PHP setup. Everything was working fine until I tried to do "cleaner" urls for search engines... I created a .htaccess file which looks like this:

PHP Code:
<files electronics>
ForceType application/x-httpd-php
</files>
<
files industrial>
ForceType application/x-httpd-php
</files>
<
files medical>
ForceType application/x-httpd-php
</files
<
files nanotechnology>
ForceType application/x-httpd-php
</files
I placed this .htaccess in the same folder as the pages themselves... but when I go to visit the pages now they output as text and not php....

I am pretty sure my php is not configured with cgi... I know I have verion 5.1 with apache 2.0.

I have a WAMP server on my windows computer I use to test before passing to my linux box and everything works fine on the windows machine and php outputs correctly and not as text... If anyone can help I would appreciate it. Thanks.
Reply With Quote
  #2  
Old 27th June 2007, 05:31 PM
blckspder Offline
Registered User
 
Join Date: Mar 2005
Posts: 61
I figured it out I have to put the ForceType entries into the httpd.conf, Thanks anyways.
Reply With Quote
Reply

Tags
fc6, forcetype, problem, webserver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with permissions on webserver lin Servers & Networking 7 3rd July 2006 03:00 PM
Problem with setting up the webserver highestblue Servers & Networking 7 17th April 2006 04:59 PM
FC2 webserver problem okrufnek01 Servers & Networking 4 18th July 2005 05:27 PM


Current GMT-time: 11:51 (Friday, 01-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat