Forum

Fedora Apache Serv...
 
Bildirimler
Hepsini Temizle

Fedora Apache Server Root Dizini Degistirmek

8 Yazılar
2 Üyeler
0 Reactions
510 Görüntüleme
(@merttan)
Gönderiler: 30
Trusted Member
Konu başlatıcı
 

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.

 
Gönderildi : 01/11/2008 22:12

(@alikemalturker)
Gönderiler: 1016
Noble Member
 

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

 
Gönderildi : 02/11/2008 00:10

(@merttan)
Gönderiler: 30
Trusted Member
Konu başlatıcı
 

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

 
Gönderildi : 02/11/2008 00:35

(@alikemalturker)
Gönderiler: 1016
Noble Member
 

SELinux disable edip tekrar deneyin

Bir de komut satırından

service httpd start ne çıktı veriyor

 
Gönderildi : 02/11/2008 01:12

(@merttan)
Gönderiler: 30
Trusted Member
Konu başlatıcı
 

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]

 
Gönderildi : 02/11/2008 02:02

(@alikemalturker)
Gönderiler: 1016
Noble Member
 

Document root değiştirmişsiniz ama o directory i yaratmamışsınız..

 

 
Gönderildi : 02/11/2008 02:09

(@merttan)
Gönderiler: 30
Trusted Member
Konu başlatıcı
 

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?

 
Gönderildi : 02/11/2008 02:18

(@merttan)
Gönderiler: 30
Trusted Member
Konu başlatıcı
 

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

 
Gönderildi : 02/11/2008 02:38

Paylaş: