Hallo,
ich habe zwei eigene Apache-Module entwickelt und für unterschiedliche
VHosts im Einsatz: Modul WEB und Modul CARD
Ich habe z.B. bei der Site LM in der Config stehen:
VirtualHost *:80
ServerName lm.ws24.comparat.intra
...
AddHandler WEB .html .js .css .jpg .jpeg .png
...
Hi all.
I have been using a running HTTPD-server, that serves files via WebDAV.
These files are then easily downloadable to any machines, which have
the IP-Address of my running HTTPD server :)
Now, I need to add the ability for clients to upload files to the same
WebDAV directory/virtualhost.
I am new to apache, so forgive me if this is a beginner questions.
I am trying to redirect request to apache based on the IP address. Depending
on where the request originates from, the request will either have a external
or internal IP address. External will be redirected to the external
The way I would handle this is adding a second rewritecond to each stanza,
looking at REQUEST_URI to make sure that the target path is not there, eg
RewriteCond %{REMOTE_ADDR} ^1.1.1.1
RewriteCond %{REQUEST_URI} !^/internal
RewriteRule ^(.*)$ www.site.com/internalhttp://www.site.com/internal