Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 03-24-2008, 03:38 AM
Junior Member
 
Join Date: 01-24-07
Posts: 10
iTrader: 0 / 0%
"No Input File Selected" Error in HtAccess, how do I fix?

Im using Godaddy as my host and Linux as my host software. I installed a script and it works fine but when I test click on one of my links I get the erro message with a blank white screen " No input File Selected" Im guessing its something to do with my HTaccess file but I dont know what to change. This is the file

Code:
RewriteEngine On <IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, but better safe than sorry. SecFilterScanPOST Off </IfModule> <IfModule !mod_php4.c> <IfModule !mod_php5.c> # PHP is in CGI Mode, so we need a different mod_rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !categories\.php RewriteRule ^categories(.*) categories.php?$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !articles\.php RewriteRule ^articles(.*)$ articles.php?$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !pages\.php RewriteRule ^pages(.*)$ pages.php?$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !blogs\.php RewriteRule ^blogs(.*)$ blogs.php?$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !search.php RewriteRule ^search(.*)$ search\.php?$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !authors.php RewriteRule ^authors(.*)$ authors\.php?a=$1 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !articlerss.php RewriteRule ^articlerss(.*)$ articlerss\.php?$1 [L] RewriteCond %{REQUEST_URI} !news.php RewriteCond %{REQUEST_URI} !newsrss.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^news(.*)$ news.php?$1 [L] </IfModule> <IfModule mod_php5.c> # Using PHP 5 in module mode RewriteCond %{REQUEST_URI} categories.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^categories(.*)$ categories.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} articles.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^articles(.*)$ articles.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} pages.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^pages(.*)$ pages.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} blogs.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^blogs(.*)$ blogs.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} search.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^search(.*)$ search.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} authors.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^authors(.*)$ authors.php?a=$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} articlerss.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^articlerss(.*)$ articlerss.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} news.* RewriteCond %{REQUEST_URI} !newsrss RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^news(.*)$ news.php?$1 [T=application/x-httpd-php,L] </IfModule> </IfModule> <IfModule mod_php4.c> # PHP 4 in module mode RewriteCond %{REQUEST_URI} categories.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^categories(.*)$ categories.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} articles.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^articles(.*)$ articles.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} pages.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^pages(.*)$ pages.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} blogs.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^blogs(.*)$ blogs.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} search.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^search(.*)$ search.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} authors.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^authors(.*)$ authors.php?a=$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} articlerss.* RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^articlerss(.*)$ articlerss.php?$1 [T=application/x-httpd-php,L] RewriteCond %{REQUEST_URI} news.* RewriteCond %{REQUEST_URI} !newsrss RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^news(.*)$ news.php?$1 [T=application/x-httpd-php,L] </IfModule>

Can someone explain to me what I have to change? Thanks
 
Reply With Quote
  #2 (permalink)  
Old 03-24-2008, 03:57 PM
Junior Member
 
Join Date: 01-24-07
Posts: 10
iTrader: 0 / 0%
If it helps you my site is here
HTML Code:
http://www.cashseason.com
Im not even close to finish im working on the categories section and when i go to the holme page and click on one of the categories that message pops up. But when I click on sample blog that works fine
 
Reply With Quote
  #3 (permalink)  
Old 03-25-2008, 01:23 PM
Izzmo's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 11-01-03
Location: Kansas
Posts: 1,356
iTrader: 1 / 100%
Are you sure? I'm not reproducing this error in IE7, IE8, FF or Opera.

What browser are you using?
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
 
Reply With Quote
  #4 (permalink)  
Old 03-25-2008, 02:09 PM
Junior Member
 
Join Date: 01-24-07
Posts: 10
iTrader: 0 / 0%
I had it fixed myself,
 
Reply With Quote
  #5 (permalink)  
Old 03-26-2008, 11:57 AM
Izzmo's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 11-01-03
Location: Kansas
Posts: 1,356
iTrader: 1 / 100%
Ahh, that explains it. Good to hear.

How did you end up fixing it?
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
 
Reply With Quote
  #6 (permalink)  
Old 03-27-2008, 01:05 AM
Junior Member
 
Join Date: 01-24-07
Posts: 10
iTrader: 0 / 0%
Added this line to line #2 and #3 in the .htaccess file


RewriteEngine On
RewriteBase /
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Method POST not allowed" error east_pole Web Design Lobby 3 02-16-2007 01:57 PM
Home page with "latest news", "news archive" and "update" tekitouni Web Design Lobby 1 09-19-2006 07:39 PM
PHP "Service Unavailable" caused by code error? gnznroses Coding Forum 14 03-12-2006 12:16 PM
"localhost" is not recognized in Apache configuration file nextGoal100kVisitors Coding Forum 19 12-15-2004 05:29 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 11:42 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.