ISPConfig has been running great for a while now. I have multiple domains on there. I tried to manually add a subdomain to Apache (blah.domain.com). Something I did screwed stuff up. I finally got apache running again, but now of my vhosts are working now. Any one I go to just lists the contents of /var/www/. I have looked and looked, and I just can't seem to find where things are messed up! Thanks guys/gals! Devin
Please make sure that your Vhosts_ispconfig.conf is included at the end of your main Apache configuration.
Here is the ISPConfig section of my apache2.conf file. The vhost file is included in there. What else could it be? Code: ###############ispconfig_log############### LogFormat "%v||||%b||||%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig CustomLog "|/root/ispconfig/cronolog --symlink=/var/log/httpd/ispconfig_access_log /var/log/httpd/ispconfig_access_log_%Y_%m_%d" combined_ispconfig <Directory /var/www/*/web> Options +Includes -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> <Directory /var/www/*/user/*/web> Options +Includes -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> <Directory /var/www/*/cgi-bin> Options ExecCGI -Indexes AllowOverride None AllowOverride Indexes AuthConfig Limit FileInfo Order allow,deny Allow from all <Files ~ "^\.ht"> Deny from all </Files> </Directory> Include /etc/apache2/vhosts/Vhosts_ispconfig.conf These two lines are in the apache2.conf file as well. Should the second line be commented out? Isnt that what the Vhosts_ispconfig.conf file is for? Code: # Include the virtual host configurations: Include /etc/apache2/sites-enabled/[^.#]* Thanks!
Are you using a standard Apache configuration, or did oyu modify it manually? If the latter, what did you modify?
Actually an assistant admin who is no longer here had made some changes, but I am really not sure what was changed. Is it possible to rebuild apache without loosing all my virtual hosted domains and sites or without reinstall ispconfig as a whole? Maybe stop ispconfig, stop apache, remove apache and associated files, reinstall apache, move the sites back to the /var/www location and then restart ispconfig? Devin