PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, March 19, 2022

[FIXED] ManageYourTeam - Yii - apache error

 March 19, 2022     apache, dynamic, url, yii     No comments   

Issue

I installed ManageYourTeam app (http://manageyourteam.net/) in my web sever.

I install in (example):

/path/public/myt

And installation its ok.

In this path (/path/public) there are another urls

/path/public/myt
/path/public/app1
/path/public/app2

<private_ip>/myt -> ok
<private_ip>/app1 -> ok
<private_ip>/app2 -> ok

Now I added an alias for each webapp:

/etc/httpd/conf.d/app1.conf
/etc/httpd/conf.d/app2.conf

Alias /app1 /path/app1
<Directory /path/app1/>
    AddDefaultCharset UTF-8
</Directory>

to migrate

app1 and app2 to /path/app1 and /path/app2

and all ok.

/path/public/myt
/path/app1
/path/app2

<private_ip>/myt -> ok
<private_ip>/app1 -> ok
<private_ip>/app2 -> ok

But when I moved

/path/public/myt/ to /path/myt/ 

using the same .conf that app1 and app2 (but changing names)

MYT dont works.

I think that the error is for dynamic urls. Its posible. Myt is write in Yii framework.

Thanks.


Solution

Finally Solution: include in .htaccess RewriteBase /



Answered By - Cahedral
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing