Forum
Arkadaslar VWware Workstation uzerine Fedora 9 kurdum. Sorunsuz calısıyor. Ancak Apache server root dizini
degistirince Apache Server calısmıyor. Bu konuda yardımlarınızı beklıyorum. iyi calısmalar Tessekkurler.
Arkadaslar VWware Workstation uzerine Fedora 9 kurdum. Sorunsuz calısıyor. Ancak Apache server root dizini
degistirince Apache Server calısmıyor. Bu konuda yardımlarınızı beklıyorum. iyi calısmalar Tessekkurler.
Merhaba Mert,
Bütün konfig dosyasını buraya yazmana gerek yoktu. O yüzden düzenleme yapmak için sildim.
DocumentRoot "Buraya senin dizini yaz"
apache dizini altındaki error lofglarını gönderirsen daha iyi olur.
Bu arada
service httpd stop
service httpd start
öıktısı ne hata veriyor
Erdal bey ilginize cok tesekkurler. Asagida loglarim.
[Sat Nov 01 00:14:11 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 00:14:11 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 00:14:11 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 00:14:11 2008] [notice] Digest: done
[Sat Nov 01 00:14:11 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 00:14:18 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Nov 01 00:17:53 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 00:17:57 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 00:17:57 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 00:17:57 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 00:17:57 2008] [notice] Digest: done
[Sat Nov 01 00:17:57 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 00:18:02 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:18:03 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:18:57 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:18:58 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:18:58 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:18:59 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:34 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 00:19:36 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 00:19:36 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 00:19:36 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 00:19:36 2008] [notice] Digest: done
[Sat Nov 01 00:19:36 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 00:19:42 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:43 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:43 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:44 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:44 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:44 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:45 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:19:56 2008] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
[Sat Nov 01 00:20:25 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 00:20:32 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 00:20:32 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 00:20:32 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 00:20:32 2008] [notice] Digest: done
[Sat Nov 01 00:20:32 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 00:20:36 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Nov 01 00:21:58 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 00:45:18 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 00:45:18 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 00:45:18 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 00:45:18 2008] [notice] Digest: done
[Sat Nov 01 00:45:19 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 00:56:39 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 01:08:34 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Nov 01 01:08:34 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 01:08:34 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 01:08:34 2008] [notice] Digest: done
[Sat Nov 01 01:08:34 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 12:33:19 2008] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Nov 01 12:33:19 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 12:33:19 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 12:33:19 2008] [notice] Digest: done
[Sat Nov 01 12:33:19 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 12:40:06 2008] [notice] caught SIGTERM, shutting down
[Sat Nov 01 12:40:08 2008] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Sat Nov 01 12:40:08 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Nov 01 12:40:08 2008] [notice] Digest: generating secret for digest authentication ...
[Sat Nov 01 12:40:08 2008] [notice] Digest: done
[Sat Nov 01 12:40:08 2008] [notice] Apache/2.2.8 (Unix) DAV/2 configured -- resuming normal operations
[Sat Nov 01 12:40:28 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Nov 01 12:40:29 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Sat Nov 01 12:40:32 2008] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Sat Nov 01 12:40:32 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Nov 01 12:40:36 2008] [notice] caught SIGTERM, shutting down
SELinux disable edip tekrar deneyin
Bir de komut satırından
service httpd start ne çıktı veriyor
services httpd start dedigim zaman bole bir hata cıkıyor.
SELinux disable
Starting httpd: Syntax error on line 280 of /etc/httpd/conf/httpd.conf:
DocumentRoot must be a directory
[FAILED]
Document root değiştirmişsiniz ama o directory i yaratmamışsınız..
Klasor mevcut ama bir turlu klasoru gormuyor sanırım. Baska klasorde denedim. Ama apache sadece kendi orjinal dizininde
calısıyor. Sorun baska ne olabilir acaba?
Erdal bey yardımlarınız ıcın cok tesekkurler. sorun cozuldu. Cozum olusturdugum klasorun Propertier kısmındakı Permissions bolumunde Group kısmını Apache"yi sectigim zaman sorun cozuldu. iyi calısmlar