I apologized as I'm not well versed specifically with drupal. But anyway, I was migrating an existing installation on a Windows Server to a Linux Server (debian).
I went ahead and moved all the files, setup the database, updated settings.php
in /sites/default
I also chown'd with correct user, and set /sites/default/files
to 777 permissions with all other directories set to 755 and files set to 644.
I have errors with some images, css, and js. I checked the files, and they exist. When attempting to access via GET request (http protocol) I get 500 Internal Server error.
Looking at PHP's error logs I see these alerts (no errors):
/sites/default/files/.htaccess: Option FollowSymLinks not allowed here
When I edit said .htaccess files to:
#Options None
#Options +FollowSymLinks
The images load, but the CSS and JS does not (it exists but tries pulling from incorrect directory). I am also worried about security in this folder.
ie:
Actual Request: GET site.com/css/css_49249400b301b59bd86200648ba96215.css
Correct Request: GET site.com/sites/default/files/css/css_49249400b301b59bd86200648ba96215.css
Anything I could be doing wrong?
Help is appreciated!
UPDATE: Rewrites are enabled and working.