Quote from: samba at Mar 21, 2011, 04:53 PM
Hi,
I can see why you didn’t get an answer. More details are needed. You didn’t leave a link. Even if you don’t do that, you need at least an error message. We also don’t know if you’re using Revo or Evo. Finally, that’s not really a tutorial ... being a psychic has become a requirement... (oh, and we also don’t know a single thing about your hosting... I hope you’re getting the message here)...
Thank you all for responding. Yes, samba, consider me spanked.
Anyway, I’m running Revo ModX 2.0.6 on PHP v 5.2.10., Apache 2.0.
However, I’ve noticed the same problem, and error message, on another site I’m building (Revo 2.0.8. on same server) that has an actual domain name pointing to it, therefore I now believe my problem is not I.P./domain name related anymore.
In the control panel, I did set the system settings to:
Use Friendly URLs ’Yes’
Use Friendly Alias Path ’Yes’
Each of the resources have a Resource Alias added to it.
My .htaccess file contains this:
# Friendly URLs Part
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} .
# Force all pages to go to www.domain.com for SEO
RewriteCond %{HTTP_HOST} !^www\.(my_domain_added_here)\.com [NC]
RewriteRule (.*) http://www.(my_domain_added_here).com/$1 [R=301,L]
# Friendly URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
# Additional Settings Follow
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
BrowserMatch "MSIE" brokenvary=1
BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1
BrowserMatch "Opera" !brokenvary
SetEnvIf brokenvary 1 force-no-vary
The error message I’m getting is:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@(my_domain).com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at www.(my_domain).com Port 80
In the resulting pages with the error messages, in the address bar, I can see where ModX has added the alias to the address.
Since I get the error message when I upload the .htaccess file, I’m sure that that is where I’ve botched the thing. It goes away when I delete the file off the server.
BTW: I’ve been uploading the .htaccess file to the root of the site, at the same level as the index.php file. I assume that is correct?
So, what the heck am I doing wrong? I’m not a server guy, so please be gentle.