Site not working, php file not found |
[eluser]Mitja B.[/eluser]
Code: This is server log: any idea why page not working? this is url of the site http://www.danaja.si/danaja/ First page work, any sub page not. Thx for help
[eluser]TheFuzzy0ne[/eluser]
I don't get it, some pages work, other don't, and some "kinda" work. Please give a URL for the page that should be working but isn't. I'm having trouble knowing which pages have not been completed yet.
[eluser]SitesByJoe[/eluser]
Check the permissions on your live files - having no permissions set (000) will cause that type of server error.
[eluser]TheFuzzy0ne[/eluser]
[quote author="Mitja B." date="1234924221"]you can look here what i get http://www.danaja.si/danaja/vzdrzevanje[/quote] That's an error that's usually caused by having your .htaccess configured incorrectly.
[eluser]Mitja B.[/eluser]
.htaccess is ok becouse it work in my win and linux server. Problem is at my provider. Can be problem that my provider use apache 1.3? I have 755 permissions so i think this is ok. http://www.danaja.si/danaja/index.php/vzdrzevanje i get file not found like in log at my first post
[eluser]TheFuzzy0ne[/eluser]
Please could we see your .htaccess file? I strongly suspect that it's not looking in the right place for the index.php file. The application's root is not the Web root, it's in a subdirectory, and I'm guessing it's not in a subdirectory on your home server.
[eluser]Mitja B.[/eluser]
thx you have right, the problem was in .htaccess file <IfModule mod_rewrite.c> # AddDefaultCharset utf-8 RewriteEngine On RewriteBase /danaja/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|public|tmp|robots\.txt) RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> <IfModule !mod_rewrite.c> # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. # Submitted by: ElliotHaughin ErrorDocument 404 /index.php </IfModule> I must remove RewriteCond %{REQUEST_URI} ^system.* and now works again. Thx all for help |
Welcome Guest, Not a member yet? Register Sign In |