Am 12.06.2020 um 15:54 schrieb bruce:
/www/var/social within the /www/var/social (the files for open social are)
2 times a typo for the path?
apache apache 109 Jun 11 03:34 . apache apache 128 Jun 12 04:16 .. apache apache 1858 Jun 11 03:33 composer.json apache apache 365863 Jun 11 03:40 composer.lock apache apache 602 Jun 11 03:33 .gitignore apache apache 4096 Jun 11 03:40 html apache apache 1826 Jun 11 03:33 README.md apache apache 4096 Jun 11 03:40 vendor within the /www/var/social/html (the files for open social are) drwxrwxr-x. 8 apache apache 4096 Jun 11 03:40 . drwxrwxr-x. 4 apache apache 109 Jun 11 03:34 .. -rw-rw-rw-. 1 apache apache 385 Jun 11 03:40 autoload.php drwxrwxr-x. 14 apache apache 4096 Jun 11 03:40 core -rw-rw-r--. 1 apache apache 1025 Jun 11 03:40 .csslintrc -rw-rw-r--. 1 apache apache 357 Jun 11 03:40 .editorconfig -rw-rw-r--. 1 apache apache 151 Jun 11 03:40 .eslintignore -rw-rw-r--. 1 apache apache 41 Jun 11 03:40 .eslintrc.json -rw-rw-r--. 1 apache apache 3858 Jun 11 03:40 .gitattributes -rw-rw-r--. 1 apache apache 7878 Jun 11 03:40 .htaccess -rw-rw-r--. 1 apache apache 2314 Jun 11 03:40 .ht.router.php -rw-rw-r--. 1 apache apache 549 Jun 11 03:40 index.php drwxrwxr-x. 29 apache apache 4096 Jun 11 03:40 libraries drwxrwxr-x. 3 apache apache 21 Jun 11 03:33 modules drwxrwxr-x. 3 apache apache 21 Jun 11 03:34 profiles -rw-rw-r--. 1 apache apache 1594 Jun 11 03:40 robots.txt drwxrwxr-x. 3 apache apache 112 Jun 11 03:34 sites drwxrwxr-x. 3 apache apache 21 Jun 11 03:34 themes -rw-rw-r--. 1 apache apache 848 Jun 11 03:40 update.php -rw-rw-r--. 1 apache apache 4566 Jun 11 03:40 web.config
Rethink if it is really required to permit the webserver to be able to modify (write) its own content files. Certainly many file of the application can be protected by being root:root owned and just read by the apache user.
In order to test the app, I need to be able to have a valid virtualhost to allow the user to access the site http://1.2.3.4/?? the current (doesn't work)!! /etc/httpd/sites-available/virtualhosts.conf
That's a Debian style config setup. While the active config is being reflected by /etc/httpd/sites-enabled/foo.conf being the symlink to the active config.
<VirtualHost *:80> # VirtualHost file to handle aliases # Options Indexes FollowSymLinks MultiViews # AllowOverride All # Order allow,deny # allow from all # DirectoryIndex index.html index.php # Require all granted # Set the default document root for Apache (if the URL # doesn't start with "/foo" or "/oxwall")... #drupal cat DocumentRoot "/var/www/html" DocumentRoot "/var/www/social/html"
See the difference of the DocumentRoot path to what you wrote above. Said that, /var/www/social would be the appropriate path on Fedora and "www/var/" ugly.
Look into the log files generated by Apache when accessing your server and application. That will tell you where to search.
Alexander _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx