Şimdi Ara

Mamp pro gibi program

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
2
Cevap
0
Favori
327
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Arkadaşlar bir tane tutorial izlerken adamın mamp pro kullandığını gördüm adam c: den herhangi bir klasör seçip kendi domain adını yapabiliyordu. örnek olarakhttp://wordpress.dev yazıyordu ve bilgisayardaki C: deki wordpress klasörüne bağlandı ama paralı program bunu yapabilen bedavalocalhost programı varmı ?? umarım anlatabilmişimdir.



  • Çok sağolun ama gerek kalmadı internette buldum cevabını. Sizin dediğiniz sadece adını değiştiriyor.

    ben xampp kullanıyorum C:\xampp\apache\conf\extra girip httpd-vhosts.conf açıp

    <VirtualHost blueshoesokay.dev:80> 
    DocumentRoot "C:/Users/SmallVille/Dropbox/Projelerim/blueshoes"
    ServerName blueshoesokay.dev
    ServerAlias blueshoes.okay.dev
    <Directory "C:/Users/SmallVille/Dropbox/Projelerim/blueshoes">
    Options Indexes FollowSymLinks MultiViews Includes ExecCGI
    AllowOverride All
    Order Allow,Deny
    Allow from all
    Require all granted
    </Directory>
    </VirtualHost>
    <VirtualHost woodsman.okay.dev:80>
    DocumentRoot "C:/Users/SmallVille/Dropbox/Projelerim/woodsman"
    ServerName okay.dev
    ServerAlias woodsman.okay.dev
    <Directory "C:/Users/SmallVille/Dropbox/Projelerim/woodsman">
    Options Indexes FollowSymLinks MultiViews Includes ExecCGI
    AllowOverride All
    Order Allow,Deny
    Allow from all
    Require all granted
    </Directory>
    </VirtualHost>


    böyle yaparak aynı yerdeki klasöleri iki farlı domainle açabilmeme yaradı. bide host dosyasına eklemek lazım tabi
    # Copyright (c) 1993-2006 Microsoft Corp.  
    #
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    #
    # This file contains the mappings of IP addresSes to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    #
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name deNoted by a '#' symbol.
    #
    # For example:
    #
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host

    127.0.0.1 localhost
    127.0.0.1 woodsman.okay.dev
    127.0.0.1 blueshoes.okay.dev
    sağolun genede yardımınız için :D




  • Yapay Zeka’dan İlgili Konular
    Daha Fazla Göster
    
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.