We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have just installed phpredis. The index page works for me, but when I click on links, I'm redirected to wrong sites with no graphics in it (css is not being applied, because the URLs to the CSS files look like this one: http://phpredmin.loc/index.php/welcome/config/0/bootstrap/css/bootstrap.min.css).
The site urls look like this: http://phpredmin.loc/index.php/welcome/index/0/0 http://phpredmin.loc/index.php/welcome/info/0/0 http://phpredmin.loc/index.php/welcome/config/0/0
I don't know what I could have done wrong, I'm sending my virtual host config, just to be sure:
<VirtualHost *:80> ServerName phpredmin.loc ServerAlias phpredmin DocumentRoot "/Users/rasta/DEV/phpredmin/public" DirectoryIndex index.php <Directory "/Users/rasta/DEV/phpredmin/public"> Require all granted Options Indexes </Directory> ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/Users/rasta/DEV/phpredmin/public/$1 ErrorLog "/usr/local/var/log/apache2/phpredmin.loc-error_log" CustomLog "/usr/local/var/log/apache2/phpredmin.loc-access_log" common </VirtualHost>
I was also checking the layou.php file and I've seen lines like this in there:
<?= $this->router->baseUrl?>/bootstrap/css/bootstrap.min.css ?>
But I don't really have time to find out, why $this->router->baseUrl outputs the whole site URL
The text was updated successfully, but these errors were encountered:
Hi, sorry for delay.
Can you see what does $_SERVER contain?
Sorry, something went wrong.
No branches or pull requests
Hi, I have just installed phpredis. The index page works for me, but when I click on links, I'm redirected to wrong sites with no graphics in it (css is not being applied, because the URLs to the CSS files look like this one: http://phpredmin.loc/index.php/welcome/config/0/bootstrap/css/bootstrap.min.css).
The site urls look like this:
http://phpredmin.loc/index.php/welcome/index/0/0
http://phpredmin.loc/index.php/welcome/info/0/0
http://phpredmin.loc/index.php/welcome/config/0/0
I don't know what I could have done wrong, I'm sending my virtual host config, just to be sure:
I was also checking the layou.php file and I've seen lines like this in there:
But I don't really have time to find out, why $this->router->baseUrl outputs the whole site URL
The text was updated successfully, but these errors were encountered: