Jump to content

Recommended Posts

Posted

If it's on your plesk account, there's usually a log entry that will explain the 500 error. We do support mod rewrite.

Do you have a link to the broken site in question?

Posted

so basically the 404 comes when i dont rename the access.txt file, but 500 probably comes because of this then(from the logs and after renaming):

.htaccess: Option FollowSymlinks not allowed here

but how can i fix that then

Posted

That error is saying the Options line contains commands that are not supported. Did you try commenting out the Options line in .htaccess?

Posted

If you were able to turn that off, I would turn it back on. It's a good security feature.

Also, be aware that Options directives in .htaccess are broken for any user whose account was migrated from cPanel. Fixing that issue requires resetting your account. Your account has a 2019 date, so its definitely a migrated account. 

I would comment out any directives relating to symlinks from .htaccess. I'm not sure why Joomla's docs would suggest that be included as to my knowledge Joomla itself doesn't even use symlinks. Mod_rewrite should work without it provided there are no symlinks to be followed...

Posted

ok, but what are the options directives even doing ("Options -Indexes" doesnt even do anything then?) and how would the account reset look like? deletion of all data?

but i think the restrict option did not even fix anything and it only started to work when i marked the symlink stuff off in the access file... altho not sure if it still would work if i switch the restrict option back on...

Posted

Options -Indexes does nothing on our server because they're already off by default. Setting +Indexes (enable directory listings) will cause a 500 error on a cPanel-migrated account. On a normal Plesk account, +Indexes works in .htaccess but I believe it only works in subfolders (not in the root of a domain...it's ignored if used in the root).

If it's working with the symlink directive removed, I'd say just leave it be.

Yes an account reset would delete your data. You would need to back everything up, have the account reset, have the domains re-added, then set everything up again using the backups.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...