Welcome Guest, Not a member yet? Register   Sign In
Valid subdirectory URL 404 Error
#1

[eluser]jplanet[/eluser]
I have installed a third party web php in a subdirectory called generator, which contains an index.php file. If I try to request the valid url like this, I get a 404 error:

http://www.example.com/generator

or

http://www.example.com/generator/index.php


Note that I have the following in my .htaccess file so that url's in Codeigniter can use shorter, SEO-friendly URL's:

Code:
RewriteEngine On
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]

I also tried adding a line for the subdirectory in routes.php, to no avail. I have other similar web applications working in other subdirectories, and they work fine!

Any help is greatly appreciated...
#2

[eluser]jplanet[/eluser]
Interesting, I just changed the file permission to 755 for that directory and it worked!




Theme © iAndrew 2016 - Forum software by © MyBB