Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - playdl

Pages: [1]
1
Apache / mod_rewrite is not working properly
« on: September 19, 2015, 04:23:50 AM »
Hello i have a simple rewrite rule wich worked before and is working on localhost already
but its not working on my cwp server:

Code: [Select]
RewriteEngine on
RewriteBase /
RewriteRule ^view/$ view.php
RewriteRule ^view$ view.php
RewriteRule ^view/(\w+)?$ view.php?cat=$1

when i try to access
Code: [Select]
site.com/view
its fine and shows view.php
but
Code: [Select]
site.com/view/test
will not get to view.php?cat=test

2
DNS / Need Help For Setting Up Main Domain AND DNS
« on: July 29, 2015, 12:39:17 PM »
Hello forgive me im not good with dns settings
i have installed cpw latest version on my vps now
i have a domain : playdl.ir
i want to use this as the main domain for server so when i want to add new domains i set their NS to :
ns1.playdl.ir
ns2.playdl.ir

in my domain registration panel i added these name servers with theri ips :
ns1.playdl.ir -> 148.251.224.27
ns2.playdl.ir -> 148.251.224.27
and in the server :

in the ( Edit Nameservers ) section i updated setting like this :
NS1 SubDomain -> ns1.playdl.ir -> 148.251.224.27
NS2 SubDomain -> ns2.playdl.ir -> 148.251.224.27
but when i save i get this error :
Code: [Select]

Stopping named: [  OK  ]
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone webira.ir/IN: NS 'ns1.webira.ir' has no address records (A or AAAA)
zone webira.ir/IN: NS 'ns2.webira.ir' has no address records (A or AAAA)
zone webira.ir/IN: not loaded due to errors.
_default/webira.ir/IN: bad zone
zone rdptools.me/IN: loaded serial 2013071600
zone ns1.playdl.ir/IN: loaded serial 2013071600
zone ns2.playdl.ir/IN: loaded serial 2013071600
/var/named/playdl.ir.db:29: ignoring out-of-zone data (ns1)
/var/named/playdl.ir.db:31: ignoring out-of-zone data (ns2)
zone playdl.ir/IN: loaded serial 2013071600
[FAILED]


ns1.playdl.ir resolves to
ns2.playdl.ir resolves to

Pages: [1]