Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

virtualhost/rewrite help needed

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  apachectl problem  
Author Message
user2378

External


Since: Jul 17, 2003
Posts: 3



(Msg. 1) Posted: Tue Jul 22, 2003 3:53 am
Post subject: virtualhost/rewrite help needed
Archived from groups: alt>apache>configuration (more info?)

Hi

I have a (probably simple) vh (and maybe rewrite?) problem - the rule is
simple at least and should work IMO - it's strange to me why it doesn't.

This is what i do:

NameVirtualHost 217.160.75.67

### ...several vh...

<VirtualHost openspirit.de>
ServerName openspirit.de
ServerAlias www.openspirit.de
RewriteEngine on
RewriteLogLevel 1
RewriteRule ^/(.*)$
http://coforum.org:9080/VirtualHostBase/http/openspirit.de:80/openspir...Virtual
[P]
</VirtualHost>

The domain openspirit.de is simply forwarded to the servers IP
(217.160.75.67). Accessing http://openspirit.de brings me to the main
DocumentRoot, this VirtualHost section is untouched, instead the default
VH is served as can be seen from the default access_log:
62.146.33.60 - - [22/Jul/2003:01:45:25 +0200] "GET / HTTP/1.1" 200 545
..
Here's the default VH section...
<VirtualHost 217.160.75.67>
### ...
DocumentRoot /home/u8491898
ErrorLog /var/log/httpd/u8491898-error_log
CustomLog /var/log/httpd/u8491898-access_log common
### ....
</VirtualHost>


Why does it not use my VH section ??

An analogue config works, with the difference that the domain is
forwarded from a dyndns service not a "real" domain provider's header
redirect (here) (I tried also with URL-hiding, same effect)
(Apache 1.3.19)


TIA for hints,

Florian


--
Florian Konnertz --- http://www.florian-konnertz.de
http://openspirit.homelinux.net/noowiki/FrontPage
ZWiki about all topics, especially consciousness research
and wisdom traditions

 >> Stay informed about: virtualhost/rewrite help needed 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Rewrite to another Port - Hi, can somebody tell me how to make a ReWrite Rule for changing port ? Example: User calls sub.domain.com and rewrite should go to sub.domain.com:82 ? Thanks for your help. Bye, Fabian

ReWrite Rules - Hi, Currently my homepage is http://www.indigoclothing.com/index.shtml However I would now want my homeapge to be: http://www.indigoclothing.com/cgi-bin/page.cgi?d=1&page=homepage The dynamic page is different from the static one as the featured...

rewrite url to hide GET values - Hello, I would rewrite url to handle a problem I have with dynamic media files. I use a php script to retrieve media files (quicktime, real video ....) from non public directories. I access the file via media.php?m=dataxxx. It works but the..

"Method Not Allowed" when attempting to GET an exe file w/.. - Can you help me, please? Configuration : Server version: Apache/1.3.20 (Unix) System = SunOS Release = 5.8 httpd.conf contains : LoadModule rewrite_module libexec/mod_rewrite.so LoadModule proxy_module libexec/libproxy.so .... RewriteCond..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]