Welcome Guest, Not a member yet? Register   Sign In
Myth/Auth localhost redirected you too many times.
#1

Please guide me when I address the url to http://localhost/ci4apps/public it's give me redirect to many times error.
But it is going normail if I use php spark serve.
Any clue why this is happen?
Reply
#2

yep, spark is at the root of your web app and when fired up tells you the url to use and is set up to serve from public; whereas if you have your web app in say Apache , you have to configure for yourself via virtual host things like url that will serve up your particular web app , also virtual host setting to point to public like

Code:
<VirtualHost 127.0.0.5:80>
    ServerAdmin [email protected]
    DocumentRoot "/srv/http/andrinaDesignStudio.com/public"
    ServerName andrinaDesignStudio.com
    ServerAlias andrinaDesignStudio.com
    ErrorLog "/var/log/httpd/andrinaDesignStudio.com-error_log"
    CustomLog "/var/log/httpd/andrinaDesignStudio.com-access_log" common

    <Directory "/srv/http/andrinaDesignStudio.com/public">
       Order allow,deny
    Allow from All
    AllowOverride All
    Require all granted
    </Directory>
</VirtualHost>

never needed to touch .htaccess neither local nor live by the way


- i have a few o mine at : /srv/http ( arch linux )

So start by going through the basics, write enabling writable (recursive ) enable logging to max

the force is fairly strong in me today ; but without actual error output difficult to know ..

Docs and https://includebeer.com/en/blog/the-chec...ot-working worth a read
CMS CI4     I use Arch Linux by the way 

Reply
#3

how to cek if i use xampp in windows?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB