GoDaddy: “No input file selected” and .htaccess with mod_rewrite?
This is a GoDaddy hosting problem I believe but I have no choice but to stay with them because of my clients. I have recently installed Open Classifieds 2 and was told during installion mod_rewrite was not installed. After continuing with the installation I could obviously not navigate to any rewritten URLs. 2 days later and with some small changes to .htaccess file from some help I found on here I have managed to make progress.
Below are the changes I made to .htaccess:
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ index.php?/$1 [L]
The problem I'm having now is that I only get the 'no input file selected' message now if the URL is rewritten to another subdirectory (for example http://roomsby.com/classifieds/oc-panel/auth/login).
All URLs written immediately after the installation directory /classifieds/ are good, take a look at http://roomsby.com/classifieds/publish-new.html.
So I'm not sure how to configure the .htaccess any further to fix this or will it be a core problem with CMS.
This is a GoDaddy hosting problem I believe but I have no choice but to stay with them because of my clients. I have recently installed Open Classifieds 2 and was told during installion mod_rewrite was not installed. After continuing with the installation I could obviously not navigate to any rewritten URLs. 2 days later and with some small changes to .htaccess file from some help I found on here I have managed to make progress.
Below are the changes I made to .htaccess:
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ index.php?/$1 [L]
The problem I'm having now is that I only get the 'no input file selected' message now if the URL is rewritten to another subdirectory (for example http://roomsby.com/classifieds/oc-panel/auth/login).
All URLs written immediately after the installation directory /classifieds/ are good, take a look at http://roomsby.com/classifieds/publish-new.html.
So I'm not sure how to configure the .htaccess any further to fix this or will it be a core problem with CMS.
No comments:
Post a Comment