Code Monkey home page Code Monkey logo

Comments (6)

Akshat4112 avatar Akshat4112 commented on July 17, 2024 5

Please Change the directory name in the .htaccess file in root directory according to your directory name.

from schoolerp.

AbhishekDere avatar AbhishekDere commented on July 17, 2024

I fixed this issue:
the issue was about the port80.
Solution: there are two ways actually!

  1. Disabling the access of port 80 to other apps:
    Go to CMD(Admin Mode)->net stop http
    press Y.
    Open Apache in port 80 (The default one)
    //////////////////////////////////////////////////
  2. Changing the Default Port of the Porject.
    tbh, I really dont know how to do that. Even by changing the listening port of httpconfg of the apache does not work because when you login with correct Credentials, it redirects to port 80...

from schoolerp.

AbhishekDere avatar AbhishekDere commented on July 17, 2024

Please Change the directory name in the .htaccess file in root directory according to your directory name.

Please give an example because over here, even after changing the htaccess to correct directory, it still shows 404 on every page clicked

from schoolerp.

NimrodJMoyo avatar NimrodJMoyo commented on July 17, 2024
RewriteEngine On #rename "codeIgniter213" with your application directory #For example you rename the entire CodeIgniter application as "mysite" #then, the "RewriteBase /" will be like this "RewriteBase /mysite" #same as at line number 10, "RewriteRule ^(.*)$ /codeIgniter213/index.php #/$1 [L]" will be like this "RewriteRule ^(.*)$ /mysite/index.php/$1 [L]"

RewriteBase /example_directory_folder_name
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /example_directory_folder_name/index.php/$1 [L]

from schoolerp.

Islamic-Blogger avatar Islamic-Blogger commented on July 17, 2024

complicated

from schoolerp.

huclilu avatar huclilu commented on July 17, 2024

complicated
The last line of. htaccess file is modified as:
RewriteRule ^(.*)$ /SchoolERP/index.php?$1 [L]

like me:

RewriteEngine On #rename "codeIgniter213" with your application directory #For example you rename the entire CodeIgniter application as "mysite" #then, the "RewriteBase /" will be like this "RewriteBase /mysite" #same as at line number 10, "RewriteRule ^(.*)$ /codeIgniter213/index.php #/$1 [L]" will be like this "RewriteRule ^(.*)$ /mysite/index.php/$1 [L]"

RewriteBase /SchoolERP
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /SchoolERP/index.php?$1 [L]

from schoolerp.

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.