PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Oct 16, 2019 4:43 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Directory in Yii
PostPosted: Tue Oct 21, 2014 3:57 pm 
Offline
Forum Contributor
User avatar

Joined: Wed May 14, 2014 12:18 pm
Posts: 331
well i have a small question as to where to place my app file . I.E should i place them inside the YII framework folder or outside .

now if i place them outside the folder and in my browser i type this in my URL (look below) :

http://localhost/yii/trackstar/ - it all works fine .

now if i place the app inside the directory and type the following in the browser URL :

http://localhost/yii/framework/trackstar/.

i get the following error :

Access forbidden!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

Error 403

localhost
Apache/2.4.7 (Win32) OpenSSL/1.0.1e PHP/5.5.9

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Where should i really be placing the app file ??


Top
 Profile  
 
 Post subject: Re: Directory in Yii
PostPosted: Fri Oct 24, 2014 8:55 pm 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
What do you mean by your app file? What does the Yii documentation say?

_________________


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group