Search results

  1. frog9394

    Apache log not showing real client IP instead of cloudflare IP

    Dear All, I have find this guide. https://docs.directadmin.com/webservices/apache/general.html#mod-remoteip. But I can't find the file /etc/httpd/conf/extra/httpd-cloudflare.conf. I have 3 directadmin boxes and they all don't have this file. Is there anything I need to do in the...
  2. frog9394

    read content ouside /home/user folder

    Dear All, I have an nfs volume mounted to /mnt/nfs. A symbolic link /home/user/public_html/image -> /mnt/nfs/image has created. But I can't get https://www.domain.com/image/test.jpg to work (Forbidden) because apache seems restricted. It can only read content inside /home/user. How can I...
  3. frog9394

    Apache 2.2.9 mod_rewrite

    Hello, Everybody. I have a problem about mod_write in my Custom_builded apache 2.2.9. I just want to add a global rewrite rule to force domain.com -> www.domain.com. The code as below. # Forcing no sub domain to WWW. eg: site.com -> www.site.com RewriteEngine On RewriteCond %{HTTP_HOST}...
Back
Top