• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove index.php without setting $config['index_page'] to empty string [SOLVED]

#21
[eluser]cseguin[/eluser]
I have done it but it is still failing, were closer though. Let's try virtual hosts

#22
[eluser]bretticus[/eluser]
Do you still get plain-jane apache 404 pages?

Watch "Part 3: Setting up an virtualhost apache environment in MAMP for codeigniter" over at my blog. This method uses MAMP but the apache configurations should be the same.

Thinking the "solution" here might be just using MAMP. Smile

#23
[eluser]cseguin[/eluser]
Yes! it worked!

Actually, in my first try I have changed

Code:
[code]AllowOverride All

in the wrong place.

It has to be changed few lines downwards, here is the final modification that did the trick:

Code:
#
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/Library/WebServer/Documents">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks MultiViews

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
Code:
AllowOverride All
Code:
#
    # Controls who can get stuff from this server.
    #

special thanks @bretticus, I owe you.

#24
[eluser]bretticus[/eluser]
Happy to help. Cheers!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.