Auto-nav issue with fresh install

Permalink
I am using concrete5 for the first time and am somewhat baffled by broken links on a fresh install.

Auto-nav has links to: Home About Blog Search. The "Home" link works, however the other 3 all lead to a white page with the text: "No input file specified."

For example, when installing I used option to include dummy data for the blog page, so I imagine this simply *should* lead to that page.

Thanks for any help with this simple question from a new user:)

Ashlann
 
Ashlann replied on at Permalink Reply
Ashlann
Added info: seems I am hitting the same wall across the site: I have turned on the "Members" page and this leads to the same error page.

I *can* access these pages (eg: "my first blog post" include) by going to the site map, so I can confirm they exist. Links to these documents simply get that error.

Thanks again:)
jshannon replied on at Permalink Reply
jshannon
Just a guess. Have you turned on pretty URLs? Try turning them off and seeing if they work.
Ashlann replied on at Permalink Reply
Ashlann
Hi jshannon - Yes, I had and yes, I see a change now, thank you.

I see there is a block of text that must be added to the .htaccess file - where in this file should this be placed?

Thank you:)
jshannon replied on at Permalink Reply
jshannon
You can place the .htaccess file at your web root, so the concrete5 directory with the index.php file in it. There should already be an .htaccess file but, if not, you can create one.

After that, you can turn back on pretty urls and everything /should/ work. The block of code works for most hosts, but not all (my host, dreamhost, required a different block).

James
Ashlann replied on at Permalink Reply
Ashlann
Hi James,
This actually makes it nice and neat as I am also hosting with Dreamhost:) What was your block if you don't mind sharing it?

I've done a little reading about the .htaccess file: what I am understanding is that I simply open it using a text editor, paste the block and then re-upload it to /root - then these rules are acted upon.

I am uploading using FileZilla; do you know offhand if I would need to CHMOD the .htaccess file from default settings? My understanding is NO.

Thanks again.
jshannon replied on at Permalink Best Answer Reply
jshannon
The following works for me. I copied from someone's blog after a bunch of searching, but can't give credit.

Yeah. As long as it's readable by your account, you should be OK.

# -- concrete5 urls start --
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ pretty_url.php/$1 [L]
#RewriteRule ^(.*)$ index.php/$1 [L]
# -- concrete5 urls end --
Ashlann replied on at Permalink Reply
Ashlann
Thanks James, incredibly helpful, Cheers.