Coder Social home page Coder Social logo

issue when installing phpci about phpci HOT 5 OPEN

maeva123 avatar maeva123 commented on June 12, 2024
issue when installing phpci

from phpci.

Comments (5)

JoolsMcFly avatar JoolsMcFly commented on June 12, 2024

Make sure you have mod rewrite enabled and that Apache points to public folder.

Sent from my phone so I couldn't check against my setup

from phpci.

maeva123 avatar maeva123 commented on June 12, 2024

Hi,
Yes mod rewrite is enabled and I add this to my httpd_vhots

<VirtualHost *:80>
     DocumentRoot c:/wamp/www/phptesting/public
     ServerName add.test.ra
    ServerAlias add.test.ra

     <Directory c:/wamp/www/phptesting/public >
       Options Indexes FollowSymLinks
       AllowOverride All
       Require all granted
    </Directory></VirtualHost>

But I still have the same issue

from phpci.

Ooypunk avatar Ooypunk commented on June 12, 2024

Have you copied/renamed .htaccess.dist to .htaccess? (located in c:/wamp/www/phptesting/public)

from phpci.

tobiasrohde avatar tobiasrohde commented on June 12, 2024

I have the same problem on my Ubuntu machine with Apache 2.4.18. The public folder of PHPCI is located at /var/www/html/phpci/public and I copied .htaccess.dist to .htaccess in that folder.

My VirtualHost file (phpci.localhost.conf) is placed at /etc/apache2/sites-available and in /etc/hosts phpci.localhost points to 127.0.0.1. The VirtualHost is also activated.

<VirtualHost *:80>
        ServerName phpci.localhost        
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html/phpci/public/
        <Directory /var/www/html/phpci/public/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog /var/log/apache2/error.log
        LogLevel warn
        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
</VirtualHost>

When I call now phpci.localhost in the browser I receive a HTTP 302 (Moved temporarily) and I'm forwarded to localhost/phpci/session/login and receive a HTTP 404 (The requested URL /phpci/session/login was not found on this server.). The same happens when I call localhost/phpci/public directly. First I receive the HTTP 302 then the HTTP 404.

from phpci.

prezire avatar prezire commented on June 12, 2024

Make sure mod_rewrite is activated aside from just being enabled.

from phpci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.