Comments (4)
Hi Evan,
The contents of the htdocs folder should be in your web root. For example, on Bluehost, the webroot is 'public_html'. Application and system should be above your web root. If you do that, it should work fine. There's already an .htaccess file in the htdocs folder. Then modify /application/config/core.php and set $config['root_folder'] to match your server's webroot (htdocs, public_html, etc.)
from ci3-fire-starter.
Jason,
Thanks for the quick reply! Does Fire Starter presume/ require this hierarchy? Just curious.
Evan
from ci3-fire-starter.
It can be changed, but this is the recommended structure for best security.
from ci3-fire-starter.
If you are not using a vhost, for example if the starter-kit is installed in the www/ci3-firestarter/
folder (www being your web-root)
Add a .htaccess
file to the www/ci3-firestarter/
folder with the following contents:
RewriteEngine On
RewriteRule ^$ htdocs [L]
And in the config.php
file, modify the base_url
like this:
$config['base_url'] = 'http://localhost/ci3-firestarter/htdocs/';
So, in your browser, when you access this url:
http://localhost/ci3-firestarter/
You will be automatically redirected to:
http://localhost/ci3-firestarter/htdocs/
from ci3-fire-starter.
Related Issues (20)
- language menu is empty HOT 2
- Database HOT 1
- Upgrade to CI 3.0.5 HOT 1
- Issue in set_template HOT 1
- Object not found! Error 404 HOT 2
- log_message function not working. HOT 1
- Email Validation Error HOT 2
- Installation problem HOT 9
- sort by number HOT 1
- can't add composer packet HOT 1
- How
- Admin template footer bug HOT 1
- CRUD in propject HOT 1
- can we have ACL and templating system? HOT 1
- Composer problem
- __autoload() is deprecated HOT 2
- routing not works properly; HOT 1
- I can't complete the installation
- 404 page not found HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ci3-fire-starter.