Re: apache2 can not find the file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mahmood,

> On 3 Jun 2018, at 20:32, Mahmood Naderan <nt_mahmood@xxxxxxxxx.INVALID> wrote:
> 
> I want to know why I can not directly see the web installer (complain about /install not found) while I can see that with php command?
> 
> That mean the files are there but apache can not find them.

Looking at the list of files and the URL that’s being searched for, there isn’t any “install" file or directory present. Probably your webapplication is trying to access that URL but you’re missing some kind of Redirect rules to handle URL’s through the index.php? 

Hopefully you’ll find it it the app’s documentation, but it might be something as simple as: 

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]

Depending on your configuration, this could be in your config file, or in a .htaccess file and make sure that mod_rewrite is available.

-- 
Riemer Palstra
riemer@xxxxxxxxxxx


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux