[us...@httpd] Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

2009-09-24 Thread John Martin
I'd like to add a domain to httpd.conf manually, because it shares a DocumentRoot with an already existing account. I recently moved servers, and the old server had Apache 1.3. Using an Include, I added this to httpd.conf: VirtualHost 100.100.100.100:80 ServerAlias domain.com *.domain.com

Re: [us...@httpd] Manually adding an entry to httpd.conf for a domain that would share a DocumentRoot with an existing domain/account

2009-09-24 Thread John Martin
Let's try to solve your problem... What is the output of the following command? httpd -S What is in your error log? Do you have the correct NameVirtualHost statement somewhere? Krist Thank you for the suggestions - I hadn't checked the Apache error log, and in that log I found the

[us...@httpd] Lookaround assertions in mod_rewrite/mod_alias regex?

2009-09-01 Thread John Martin
How can one use lookahead/lookbehind assertions in the regex for a mod_rewrite RewriteRule, or mod_alias AliasMatch? Currently when I attempt to use a question mark in my regex, as needed for lookarounds, I get an internal server error for mod_rewrite, or a syntax error for mod_alias.