Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
[Solved] Problem with shortening URLs
Okay, going over the how to post a question post:
I meet all the requirements on the server, my permissions are fine, my platform is ubuntu 10.04, it's a new clean install.
The vanilla files (there is no vanilla folder) is located at rhulac.org/forum, now originally even rhulac.org/forum didn't work. I instead had to go to rhulac.org/forum/index.php?p=/, now I've changed certain apache settings, so that I can now access the forums by going to rhulac.org/forum.
Now whenever I clicked any of the links it would take me to rhulac.org/forum/index.php?p=/discussions, I wanted to get rid of the index.php?p= so I went to config.php and changed:
$Configuration['Garden']['RewriteUrls'] = TRUE;
to equal to TRUE.
Now I can still access my forums at rhulac.org/forum, when I click any of the links it takes me to say rhulac.org/forum/discussions (which is what I wanted) but the pages display an error and don't work.
So, err, what's wrong?
I meet all the requirements on the server, my permissions are fine, my platform is ubuntu 10.04, it's a new clean install.
The vanilla files (there is no vanilla folder) is located at rhulac.org/forum, now originally even rhulac.org/forum didn't work. I instead had to go to rhulac.org/forum/index.php?p=/, now I've changed certain apache settings, so that I can now access the forums by going to rhulac.org/forum.
Now whenever I clicked any of the links it would take me to rhulac.org/forum/index.php?p=/discussions, I wanted to get rid of the index.php?p= so I went to config.php and changed:
$Configuration['Garden']['RewriteUrls'] = TRUE;
to equal to TRUE.
Now I can still access my forums at rhulac.org/forum, when I click any of the links it takes me to say rhulac.org/forum/discussions (which is what I wanted) but the pages display an error and don't work.
So, err, what's wrong?
Tagged:
0
Comments
There was an error rendering this rich post.
"Not Found
The requested URL /forum/discussions was not found on this server."
Whereas typing in "http://rhulac.org/forum/index.php?p=/discussions" shows a valid page.
There was an error rendering this rich post.
This is how it looks like:
# Original
# If you modify this file then change the above line to: # Modified
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
RewriteBase /forum
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
Also the full server filepath for the forum is home//public_html/rhulac.org/public/forum
Is it possible that on the line where it says 'RewriteBase /forum' i'm doing something wrong?
Also do I have to do anything in httpd.conf in my apache folder? Though I think any .htaccess file overrides any previous httpd settings?
Hosting with godaddy
rewrite urls has never worked for me
bump.
bump!