Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Did you use virtual host?</p> <p>I have same problem and solve with this</p> <p>1) Make virtual host in my case is like this: file /etc/apache2/sites-available/default</p> <pre><code>&lt;VirtualHost *:80&gt; ServerAdmin admin@email.com DocumentRoot /var/www/dort ServerName yourdomain.biz #this domain must be define tld info. ErrorLog /var/log/apache2/error_2.log &lt;Directory /var/www/dort&gt; Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all # Uncomment this directive is you want to see apache2's # default start page (in /apache2-default) when you go to / #RedirectMatch ^/$ /apache2-default/ &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> <p>2) Setting host in file /etc/hosts</p> <pre><code>127.0.0.1 localhost 127.0.0.1 yourdomain.biz # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts </code></pre> <p>3) <code>.htaccess</code></p> <pre><code>&lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / # Send admin URL's to the admin controller (then skips the rest of the redirect rules) RewriteCond %{REQUEST_URI} ^/admin(.*) RewriteRule ^(.*)$ /index.php/admin/$1 [L] # Redirects any request thats not a file or directory through to the main controller RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/main/$1 [L] &lt;/IfModule&gt; &lt;IfModule !mod_rewrite.c&gt; # If we don't have mod_rewrite installed, all 404's # can be sent to index.php, and everything works as normal. ErrorDocument 404 /index.php &lt;/IfModule&gt; </code></pre> <p>4) Make sure when restart apache not show error </p> <pre><code> Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName </code></pre> <p>5) Go to browse and run this url <a href="http://yourdomain.biz" rel="nofollow">http://yourdomain.biz</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload