Prebacivanje sajta sa jednog localservera na drugi

2

Prebacivanje sajta sa jednog localservera na drugi

offline
  • Milan
  • Pridružio: 17 Dec 2007
  • Poruke: 14607
  • Gde živiš: Niš

Nije to problem. Kao DocumentRoot navodiš putanju do wp foldera na svom računaru, a ServerName prepisuješ od druga. Rastafarii je to lepo objasnio iznad.



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
offline
  • Pridružio: 18 Jul 2003
  • Poruke: 4201
  • Gde živiš: U zlatnom kavezu

Ljudi ovo je sadrzaj mog vhosta

# Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.4/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any <VirtualHost> block. # <VirtualHost *:80>     ServerAdmin webmaster@dummy-host.example.com     DocumentRoot "c:/Apache24/docs/dummy-host.example.com"     ServerName dummy-host.example.com     ServerAlias www.dummy-host.example.com     ErrorLog "logs/dummy-host.example.com-error.log"     CustomLog "logs/dummy-host.example.com-access.log" common </VirtualHost> <VirtualHost *:80>     ServerAdmin webmaster@dummy-host2.example.com     DocumentRoot "c:/Apache24/docs/dummy-host2.example.com"     ServerName dummy-host2.example.com     ErrorLog "logs/dummy-host2.example.com-error.log"     CustomLog "logs/dummy-host2.example.com-access.log" common </VirtualHost>
A ovo njegovog
# Virtual Hosts # <VirtualHost *:80>    ServerName localhost    DocumentRoot c:/wamp64/www    <Directory  "c:/wamp64/www/">       Options +Indexes +Includes +FollowSymLinks +MultiViews       AllowOverride All       Require local    </Directory> </VirtualHost> #
Ja sam probao da sadrzaj njegovog dodam u moj gde sam putanje
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
zamenio sa f:/wamp/www

i puko mi local host



offline
  • PHP developer
  • Pridružio: 22 Mar 2006
  • Poruke: 3666
  • Gde živiš: 127.0.0.1

Dobro, znaci on nije podesavao vhost. Vrati svoj u normalu i pogledaj da li ti je mod_rewrite ukljucen.

offline
  • Pridružio: 18 Jul 2003
  • Poruke: 4201
  • Gde živiš: U zlatnom kavezu

Nije bio ukljucen - ukljucio sam. Radi tnx

Ko je trenutno na forumu
 

Ukupno su 880 korisnika na forumu :: 46 registrovanih, 6 sakrivenih i 828 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., babaroga, bato, caesar, celik, cikadeda, Cirkon, Cufo, darkangel, Despot1, dragon986, Georgius, gogiboj, GreenMan, Helket, Hoegaarden, hyla, I AM THE KING, Insan, ivan1973, kalens021, Khaless, kovinacc, krkalon, lovac12, mane123, MarKhan, mačković, Miskohd, pein, pera12345, peruni, radovanoviczeljko82, riva, rovac, ruso, sekretar, sombrero, Srki98, Steeeefan, vathra, Vlada1389, voja64, voyas, zeljkodjokovic, zixmix