Redirecting to login page with centos

Support for webhosts that use CentOS
medaous2020
Posts: 1
Joined: 2016/03/07 10:07:07

Redirecting to login page with centos

Postby medaous2020 » 2016/03/07 10:10:54

Hello everybody,

I have a Centos well configured web server , web applications installed locally everything works fine except that I have a little redirection problem.

I have a display problem on my web page " http://10.10.10.49/stock/ "
the message that appears :

not Found
The requested URL / stock / login was not found on this server .
Apache / 2.2.15 ( CentOS ) Server at Port 80 10.10.10.49 .

I configured httpd.conf to rewrite mode
and I added the following lines to .htaccess :

RewriteEngine on
RewriteRule ^ ([a -zA- Z0-9 \ - \ _ \ / ] *) $ index.php opt = $ 1?

Is there anyone that can guide me to solve this problem

Thank you