Comments (2)
I think I've figured out the root of the problem but not how to get rid of it. I have two entirely separate URLs: one for the frontend and one for the backend. For some reason, this module insists on inserting /backend/ after the URL for my backend! I never asked it to do that. Of course, then everything totally crashes! What a crazy idea! It goes looking for something like http://myurl.com/backend/css and of course that doesn't exist. What it should be looking for is http://myurl.com/css. I've used Yii2 for years and never had this problem. How on earth to I get rid of that ridiculous '/backend/' in the URLs?
from yii2-start.
Привет.
У меня была такая же проблема после установки yii2-start (Winows 7, Apache, XAMPP)
Решение:
Set document roots of your Web server: /path/to/yii2-start/
Use the URL http://yii2-start/ to access application frontend.
Use the URL http://yii2-start/backend/ to access application backend.
И все оллрайт.
from yii2-start.
Related Issues (20)
- possible an extention HOT 1
- Error adding comment to blog entry HOT 4
- url to backend HOT 3
- Не корректное отображение HOT 1
- Подключение своего модуля HOT 5
- Использование ваших модулей в basic приложении HOT 1
- Как изменить тему? HOT 1
- Не могу обратиться к контролеру HOT 2
- Composer error
- Using Gii with yii2-start HOT 3
- Не входит в админку HOT 2
- Не работает под windows, OpenServer. Выдает ошбку Cannot create symlink, error code(1314) HOT 1
- Может стоит в руководство по установке для Windows-Apache добавить (wampp, xampp)
- Восстановление пароля HOT 1
- Please, ignore it
- How do I upload an image?
- .
- Could not access blogs index HOT 1
- Не работает DEMO режим
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 yii2-start.