I have a strange problem. In my test "booklink" environment, lying in the folder "/dev/booklink", rewriting does work when connecting to http://localhost/dev/booklink But in my second project, lying in "/dev/myproject", rewriting doesn't work. It just shows me the directory listing provided by apache. I just get a result (page) when going to the /dev/myproject/public folder direclty. I am able to access for example the "authors" there, but I manually have to add /public/ to the URI.
I even copied the .htaccess files from the booklink-project-root and the booklink-public folder and just changes /booklink to /myproject where occurred, but this didn't change anything. I tried some of the hints here in the forum, like enablind the Follow Symlinks or removing the first line "DirectoryIndex" - but no luck.
Does anyone have an idea, what my problem could be?
Does your Apache config file contain any special instructions for just the /dev/booklink folder but not /dev/myproject?
nope. the only thing I added in my user's httpd conf is
<Directory "/Users/me/Sites/">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Well, in the meantime I reinstalled my project. But it still doesn't work. Now I even can't access the author or project by going directly via /public/author. The only thing that works is http://localhost/dev/myproject/public - but what doesn't show up is the Akelos logo on that page.
Btw. do I have to keep the ".htaccess" and "index.php" file in my project-root (in WEBROOT/dev/myproject/)?
That sounds strange. I don't have any FILES inside my /project/ folder, but there are a lot of folders, and one of them is /public/ which contains the index.php and .htaccess. What files exist directly inside /myproject/?
I have:
/myproject/
app/
config/
docs/
log/
script/
test/
tmp/
public/
.htaccess (invisible)
index.php
public/ itself includes a .htaccess and a index.php as well
can you post the contents of the /.htaccess file?
1 to 8 of 8