I have many Apache 2.2 Virtual Hosts with same configuration:
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName site.com ServerAlias www.site.com DocumentRoot /home/site.com/htdocs/ ErrorLog /home/site.com/logs/error.log CustomLog /home/site.com/logs/access.log common AssignUserID site.com ftp <Directory /home/site.com/htdocs/> DirectoryIndex index.html index.htm index.php Options Includes FollowSymLinks SymLinksIfOwnerMatch AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
I get errors when trying to run the same configuration on Apache 2.4:
Performing sanity check on apache24 configuration: AH00526: Syntax error on line 8 of /usr/local/etc/apache24/Includes/site.com.conf: Invalid command 'AssignUserID', perhaps misspelled or defined by a module not included in the server configuration
Unfortunately I could not find a way to use my configuration with Apache 2.4. Help solve the problem.