Hi,
I want to add members database it is huge database (Data entry work). We
have slow internet service so we want to do it on localhost.
What i did for it,
I installed Fedora8
Than i installed Webserver "XAMPP"
Now it is working fine.
By default it made web directory "/opt/lampp/htdocs"
I have files in my b2b folder. i have copied my files here,
Do "/opt/lampp/htdocs/b2b"
it is working by http://localhost/b2b
Problem :
I am using mod-rewrite here .htaccess file so it is not working properly.
all files are php but mod-rewrite make it as .html for SEO purpose. this
thing is working on our Server 38.100.22.171 but it is not working on
local server.
Solution:
i found a solution that we should use it any domain name for local host.
For example we should host domain name www.b2b.com (Dummy Domain) and when
we open www.b2b.com so it will open our local files from
"/opt/lampp/htdocs/b2b"
In Short:
How we can set or add any dummy domain name www.b2b.com in httpd.conf so
that it will open our "/opt/lampp/htdocs/b2b" files INSTEAD of REAL
WEBSITE www.b2b.com .
When we open www.b2b.com so it will open our files from our PC
"/opt/lampp/htdocs/b2b"
Note: i know it will work only for our computer/network.
Do i need add dns entry ? in dns file, i mean domain entry? where i can find DNS file ?
Please kindly help me, it is very urgent work for me. Thanks.
Best Regards,
Farrukh Hussain
Http://www.websolpro.com