Thank you guys for all the help ;)
My hosting company doesn't allow to put folders outside httpdocs folder and
there no public_html folder. So I have to put everything inside httpdocs
folder.
Is it bad technique to cut out index.php from the httpdocs/public/ folder
and to paste it in httpdocs/ fo
This will work only on Linux hosts where the mod_rewrite is enabled.
Wouldn't it be better to add another index.php file inside the root folder
that will include the index.php file from the public folder? What happens to
members using windows?
On Tue, Jun 16, 2009 at 3:07 PM, Ben Scholzen 'DASPRi
On Tue, Jun 16, 2009 at 7:22 PM, Michael Kimsal wrote:
> Not every hosting company allows for 'remapping' stuff outside of the
> default configuration.
I am assuming that the *nix based hosting. In my case I am hosting in
bluehost and their public_html folder is where all the html files
should go.
Hi,
My solution to this problem was to use two .htaccess files. In the
"mydomain" folder you put the following:
RewriteEngine On
RewriteRule ^\.htaccess$ - [F]
RewriteCond %{REQUEST_URI} =""
RewriteRule ^.*$ /public/index.php [NC,L]
RewriteCond %{REQUEST_URI} !^/public/.*$
RewriteRule ^(.*)$ /pub
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In any case, you can just put a .htaccess file in your root directory,
rewriting all requests into the public directory. See:
http://site.svn.dasprids.de/trunk/.htaccess
...
: ___ _ ___ ___ ___ _ ___:
: | \ /
Not every hosting company allows for 'remapping' stuff outside of the
default configuration. The default Plesk configuration (which many hosts
use) disallows a user putting any files output of the 'httpdocs' folder.
This was true for plesk as of the 8.6 version - I've not tried the 9
version.
Man
On Tue, Jun 16, 2009 at 4:43 PM, Mantasgl wrote:
>
> Hi,
>
> I have my Zend Framework application fully working on my PC (localhost). My
> application directory structure is default:
> /myapp
> /application
> /library
> /public
>
> I have configured my apache virtual hosts, so that it p
Hi,
I have my Zend Framework application fully working on my PC (localhost). My
application directory structure is default:
/myapp
/application
/library
/public
I have configured my apache virtual hosts, so that it point to public
directory:
ServerName myapp
DocumentRoot "D:/wamp