• 23-10-2019, 17:46:03
    #10
    AndyCap adlı üyeden alıntı: mesajı görüntüle
    #IncludeOptional conf.d/*.conf başındaki # işaretini kaldırın.

    Sorun ilk paylaştığınız config ile son paylaştığınızın aynı olmaması. Ben ilk duruma göre bir sed oluşturdum. Mesajlarda düzenleme yaptığınızda, düzenleme sebebinizi belirtirseniz, daha kolay çözüm üretiriz.
    İlk paylaştığımda düzenledimhocam çünkü <b>yazıyordu ondan bold belirtmek için.

    Şimdi bu dosyanın son haline ulaşmak istediğimde
    vi etc/httpd/conf/httpd.confd komutunu çalıştırıyorum ve içi boş çıkıyor.

    bu conf un bir yedeği bende var içine nası aktarabilirim? Hatalıda olsa aktarsak ordan ilerleyebilir miyiz?

    edit:eski yedek olan conf u şimdi attım.

    Buraya ekliyorum.
  • 23-10-2019, 17:48:57
    #11
    Kimlik doğrulama veya yönetimden onay bekliyor.
    akafo adlı üyeden alıntı: mesajı görüntüle
    İlk paylaştığımda düzenledimhocam çünkü <b>yazıyordu ondan bold belirtmek için.

    Şimdi bu dosyanın son haline ulaşmak istediğimde
    vi etc/httpd/conf/httpd.confd komutunu çalıştırıyorum ve içi boş çıkıyor.

    bu conf un bir yedeği bende var içine nası aktarabilirim? Hatalıda olsa aktarsak ordan ilerleyebilir miyiz?
    Dosya yolunu yanlış yazmışsınız.

    vi /etc/httpd/conf/httpd.conf
  • 23-10-2019, 17:53:05
    #12
    AndyCap adlı üyeden alıntı: mesajı görüntüle
    Dosya yolunu yanlış yazmışsınız.

    vi /etc/httpd/conf/httpd.conf
    Çok pardon.İyice karıştı.
    etc/httpd/conf/httpd.conf un son hali aşağıdaki gibidir. 353.satır IncludeOptional olan satır oluyor.

    #
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults if commented: EnableMMAP On, EnableSendfile Off
    #
    #EnableMMAP off
    EnableSendfile on

    # Supplemental configuration
    #
    # Load config files in the "/etc/httpd/conf.d" directory, if any.
    IncludeOptional conf.d/*.conf
    GracefulShutDownTimeout 3
    AddOutputFilter INCLUDES .shtml
    AddType text/html .shtml
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps



    EK olarak şuan çalışıyor.

    root@plsk-cent-byol-gcp-m-1-vm /]# sudo service httpd status
    Redirecting to /bin/systemctl status httpd.service
    ● httpd.service - The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2019-10-23 14:34:06 UTC; 20min ago
    Docs: man:httpd(8)
    man:apachectl(8)
    Main PID: 1284 (httpd)
    Status: "Total requests: 939; Current requests/sec: 0.7; Current traffic: 921 B/sec"
    CGroup: /system.slice/httpd.service
    ├─1284 /usr/sbin/httpd -DFOREGROUND
    ├─1484 /usr/sbin/httpd -DFOREGROUND
    ├─1485 /usr/sbin/httpd -DFOREGROUND
    ├─1486 /usr/sbin/httpd -DFOREGROUND
    └─1491 /usr/sbin/httpd -DFOREGROUND

    Oct 23 14:34:05 plsk-cent-byol-gcp-m-1-vm systemd[1]: Starting The Apache HTTP Server...
    Oct 23 14:34:06 plsk-cent-byol-gcp-m-1-vm systemd[1]: Started The Apache HTTP Server.
  • 23-10-2019, 18:03:39
    #13
    akafo adlı üyeden alıntı: mesajı görüntüle
    Çok pardon.İyice karıştı.
    etc/httpd/conf/httpd.conf un son hali aşağıdaki gibidir. 353.satır IncludeOptional olan satır oluyor.

    #
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults if commented: EnableMMAP On, EnableSendfile Off
    #
    #EnableMMAP off
    EnableSendfile on

    # Supplemental configuration
    #
    # Load config files in the "/etc/httpd/conf.d" directory, if any.
    IncludeOptional conf.d/*.conf
    GracefulShutDownTimeout 3
    AddOutputFilter INCLUDES .shtml
    AddType text/html .shtml
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps



    EK olarak şuan çalışıyor.

    root@plsk-cent-byol-gcp-m-1-vm /]# sudo service httpd status
    Redirecting to /bin/systemctl status httpd.service
    ● httpd.service - The Apache HTTP Server
    Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2019-10-23 14:34:06 UTC; 20min ago
    Docs: man:httpd(8)
    man:apachectl(8)
    Main PID: 1284 (httpd)
    Status: "Total requests: 939; Current requests/sec: 0.7; Current traffic: 921 B/sec"
    CGroup: /system.slice/httpd.service
    ├─1284 /usr/sbin/httpd -DFOREGROUND
    ├─1484 /usr/sbin/httpd -DFOREGROUND
    ├─1485 /usr/sbin/httpd -DFOREGROUND
    ├─1486 /usr/sbin/httpd -DFOREGROUND
    └─1491 /usr/sbin/httpd -DFOREGROUND

    Oct 23 14:34:05 plsk-cent-byol-gcp-m-1-vm systemd[1]: Starting The Apache HTTP Server...
    Oct 23 14:34:06 plsk-cent-byol-gcp-m-1-vm systemd[1]: Started The Apache HTTP Server.
    Evet sorun gözükmüyor şuan. Bir sorun yaşarsanız buralarda olacağım yine.