Public folder with htaccess? |
For apache you need to configure httpd.conf.
... # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/path/to/public" <Directory "/path/to/public"> ...
Simpler is always better
There is also another line. In bold below. Does it need to be changed too?
<Directory /home/user/web/domain.com/public_html/public> AllowOverride All SSLRequireSSL Options +Includes -Indexes +ExecCGI php_admin_value open_basedir /home/user/web/domain.com/public_html:/home/user/tmp php_admin_value upload_tmp_dir /home/user/tmp php_admin_value session.save_path /home/user/tmp </Directory>
I don't know what the php_admin_value ... lines are. I don't have those.
Simpler is always better
(06-07-2019, 12:39 PM)edica Wrote: Hello, I just posted this for a similar question hope this helps https://forum.codeigniter.com/thread-73929.html |
Welcome Guest, Not a member yet? Register Sign In |