صفحه 1 از 2 12 آخرینآخرین
نمایش نتایج: از شماره 1 تا 10 , از مجموع 15

موضوع: ارور آپاچی در دایرکت ادمین

  1. #1
    کاربر اخراج شده
    تاریخ عضویت
    Apr 2013
    نوشته ها
    182
    تشکر تشکر کرده 
    105
    تشکر تشکر شده 
    129
    تشکر شده در
    99 پست

    پیش فرض ارور آپاچی در دایرکت ادمین

    دوستان دایرکت ادمین ما سایت ها بالا نمیان و آپاچی ارور میده اینم ارورش :

    Starting httpd: Syntax error on line 20 of /usr/local/directadmin/data/users/hajiniir/httpd.conf:
    Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration

  2. # ADS




     

  3. #2
    عضو دائم OmidX آواتار ها
    تاریخ عضویت
    Apr 2011
    محل سکونت
    Tehran
    نوشته ها
    2,472
    تشکر تشکر کرده 
    1,165
    تشکر تشکر شده 
    3,648
    تشکر شده در
    2,594 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    خط 20 از httpd.conf رو قرار بدید .


    پ.ن : باید این خط رو حذف و آپاچی رو ری استارت کنید .
    ...Zzzz...

  4. #3
    کاربر اخراج شده
    تاریخ عضویت
    Apr 2013
    نوشته ها
    182
    تشکر تشکر کرده 
    105
    تشکر تشکر شده 
    129
    تشکر شده در
    99 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط OmidX نمایش پست ها
    خط 20 از httpd.conf رو قرار بدید .


    پ.ن : باید این خط رو حذف و آپاچی رو ری استارت کنید .
    میشه یکم بیشتر راهنمایی کنید

  5. #4
    عضو انجمن mahdiazarnia آواتار ها
    تاریخ عضویت
    Jul 2012
    محل سکونت
    EvoSwitch
    نوشته ها
    554
    تشکر تشکر کرده 
    195
    تشکر تشکر شده 
    1,056
    تشکر شده در
    740 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    /usr/local/directadmin/custombuild/build rewrite_confs
    رو داخل ssh بزنید
    ..:: ServerMan , Department of Information Technology - Server Management ::..
    خریدار ارزهای دیجیتال ( بیتکوین ، بیتکوین کش ، اتریوم ) :
    https://t.me/archicom

  6. #5
    کاربر اخراج شده
    تاریخ عضویت
    Apr 2013
    نوشته ها
    182
    تشکر تشکر کرده 
    105
    تشکر تشکر شده 
    129
    تشکر شده در
    99 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط mahdiazarnia نمایش پست ها
    /usr/local/directadmin/custombuild/build rewrite_confs
    رو داخل ssh بزنید
    زدم اینو نوشت:


    Starting httpd: Syntax error on line 20 of /usr/local/directadmin/data/users/anl ichat/httpd.conf:
    Invalid command 'RMode', perhaps misspelled or defined by a module not included in the server configuration

  7. #6
    عضو دائم OmidX آواتار ها
    تاریخ عضویت
    Apr 2011
    محل سکونت
    Tehran
    نوشته ها
    2,472
    تشکر تشکر کرده 
    1,165
    تشکر تشکر شده 
    3,648
    تشکر شده در
    2,594 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    این ارور رو منم داشتم قبلا ، شما محتوای httpd.conf تون رو قرار بدید ، من براتون ویرایش میکنم ، مشکلتون حل میشه

    از file editor خود دایرکت ادمین هم برای مشاهده httpd.conf استفاده کنید ، نیازی ب SSH نیست .!
    ...Zzzz...

  8. تعداد تشکر ها از OmidX به دلیل پست مفید


  9. #7
    کاربر اخراج شده
    تاریخ عضویت
    Apr 2013
    نوشته ها
    182
    تشکر تشکر کرده 
    105
    تشکر تشکر شده 
    129
    تشکر شده در
    99 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط OmidX نمایش پست ها
    این ارور رو منم داشتم قبلا ، شما محتوای httpd.conf تون رو قرار بدید ، من براتون ویرایش میکنم ، مشکلتون حل میشه

    از file editor خود دایرکت ادمین هم برای مشاهده httpd.conf استفاده کنید ، نیازی ب SSH نیست .!
    بفرمائید :

    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.

    ServerRoot "/etc/httpd"
    Listen 80

    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    Include /etc/httpd/conf/extra/httpd-phpmodules.conf

    User apache
    Group apache

    ServerAdmin admin@localhost
    DocumentRoot "/var/www/html"

    # Options and AllowOverrides
    Include conf/extra/httpd-directories.conf

    <IfModule dir_module>
    DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
    </IfModule>

    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>

    ErrorLog /var/log/httpd/error_log
    LogLevel warn

    <IfModule log_config_module>
    #replace %b with %O for more accurate logging
    <IfModule mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %O" common
    LogFormat "%O %I" bytes

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    CustomLog /var/log/httpd/access_log common
    </IfModule>

    <IfModule alias_module>
    # Include some DirectAdmin alias
    Include conf/extra/httpd-alias.conf
    </IfModule>

    DefaultType text/plain

    <IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-gzip .tgz
    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddHandler cgi-script .cgi
    AddHandler type-map var
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType video/x-ms-asf .avi
    AddType video/mpeg .mpg
    AddType video/mpeg .mpeg
    AddType video/quicktime .mov
    AddType video/x-ms-wmv .wmv
    </IfModule>

    #EnableMMAP off
    #EnableSendfile off

    ################################################## #####################################
    # For user configurations not maintained by DirectAdmin. Empty by default.
    ################################################## #####################################

    Include conf/extra/httpd-includes.conf


    ################################################## #####################################
    # Do not change anything in included files, because they are rewritten by DirectAdmin #
    ################################################## #####################################

    # This is needed for PHP
    Include conf/extra/httpd-php-handlers.conf

    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf

    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf

    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf

    # Language settings
    Include conf/extra/httpd-languages.conf

    # User home directories
    #Include conf/extra/httpd-userdir.conf

    # Real-time info on requests and configuration
    Include conf/extra/httpd-info.conf

    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf

    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf

    # Distributed authoring and versioning (WebDAV)
    Include conf/extra/httpd-dav.conf

    # Various default settings
    Include conf/extra/httpd-default.conf

    # Secure (SSL/TLS) connections
    Include conf/extra/httpd-ssl.conf

    # Deflate module settings
    Include conf/extra/httpd-deflate.conf

    # All the DirectAdmin vhosts
    Include conf/extra/directadmin-vhosts.conf

    # All suPHP directives
    Include conf/extra/httpd-suphp.conf

    ################################################## #####################################
    # End of included files that are rewritten by DirectAdmin #
    ################################################## #####################################

    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

    - - - Updated - - -

    نقل قول نوشته اصلی توسط OmidX نمایش پست ها
    این ارور رو منم داشتم قبلا ، شما محتوای httpd.conf تون رو قرار بدید ، من براتون ویرایش میکنم ، مشکلتون حل میشه

    از file editor خود دایرکت ادمین هم برای مشاهده httpd.conf استفاده کنید ، نیازی ب SSH نیست .!
    بفرمائید :

    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.

    ServerRoot "/etc/httpd"
    Listen 80

    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    Include /etc/httpd/conf/extra/httpd-phpmodules.conf

    User apache
    Group apache

    ServerAdmin admin@localhost
    DocumentRoot "/var/www/html"

    # Options and AllowOverrides
    Include conf/extra/httpd-directories.conf

    <IfModule dir_module>
    DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
    </IfModule>

    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>

    ErrorLog /var/log/httpd/error_log
    LogLevel warn

    <IfModule log_config_module>
    #replace %b with %O for more accurate logging
    <IfModule mod_logio.c>
    LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %O" common
    LogFormat "%O %I" bytes

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    CustomLog /var/log/httpd/access_log common
    </IfModule>

    <IfModule alias_module>
    # Include some DirectAdmin alias
    Include conf/extra/httpd-alias.conf
    </IfModule>

    DefaultType text/plain

    <IfModule mime_module>
    TypesConfig conf/mime.types
    AddType application/x-gzip .tgz
    AddEncoding x-compress .Z
    AddEncoding x-gzip .gz .tgz
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddHandler cgi-script .cgi
    AddHandler type-map var
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml
    AddType video/x-ms-asf .avi
    AddType video/mpeg .mpg
    AddType video/mpeg .mpeg
    AddType video/quicktime .mov
    AddType video/x-ms-wmv .wmv
    </IfModule>

    #EnableMMAP off
    #EnableSendfile off

    ################################################## #####################################
    # For user configurations not maintained by DirectAdmin. Empty by default.
    ################################################## #####################################

    Include conf/extra/httpd-includes.conf


    ################################################## #####################################
    # Do not change anything in included files, because they are rewritten by DirectAdmin #
    ################################################## #####################################

    # This is needed for PHP
    Include conf/extra/httpd-php-handlers.conf

    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf

    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf

    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf

    # Language settings
    Include conf/extra/httpd-languages.conf

    # User home directories
    #Include conf/extra/httpd-userdir.conf

    # Real-time info on requests and configuration
    Include conf/extra/httpd-info.conf

    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf

    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf

    # Distributed authoring and versioning (WebDAV)
    Include conf/extra/httpd-dav.conf

    # Various default settings
    Include conf/extra/httpd-default.conf

    # Secure (SSL/TLS) connections
    Include conf/extra/httpd-ssl.conf

    # Deflate module settings
    Include conf/extra/httpd-deflate.conf

    # All the DirectAdmin vhosts
    Include conf/extra/directadmin-vhosts.conf

    # All suPHP directives
    Include conf/extra/httpd-suphp.conf

    ################################################## #####################################
    # End of included files that are rewritten by DirectAdmin #
    ################################################## #####################################

    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

  10. #8
    عضو دائم
    تاریخ عضویت
    Sep 2012
    محل سکونت
    hetzners rack
    نوشته ها
    2,739
    تشکر تشکر کرده 
    2,675
    تشکر تشکر شده 
    6,577
    تشکر شده در
    3,502 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط OmidX نمایش پست ها
    این ارور رو منم داشتم قبلا ، شما محتوای httpd.conf تون رو قرار بدید ، من براتون ویرایش میکنم ، مشکلتون حل میشه

    از file editor خود دایرکت ادمین هم برای مشاهده httpd.conf استفاده کنید ، نیازی ب SSH نیست .!
    مطمئن هستید با یک ادیت ساده مشکلشون حل می شود؟!
    اگر مجدد اقدام به بایلد کنند چی؟! دوباره همون آش و همون کاسه...

    دوست عزیز شما از mod_ruid2 در حال استفاده هستید و در حال حاضر Madules آن در فایل httpd.conf وب سرور شما include نشده است!
    برای حل این مشکل باید شما در فایل httpd.conf در زیر خط :

    کد:
    LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    عبارت زیر رو قرار بدید :

    کد:
    LoadModule	ruid2_module	 /usr/lib/apache/mod_ruid2.so
    براحتی مشکل شما حل خواهد شد.

    در نتیجه شما در httpd.conf باید اینجوری داشته باشید :

    کد:
    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see 
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned. 
    
    
    ServerRoot "/etc/httpd"
    Listen 80
    
    
    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    LoadModule	ruid2_module	 /usr/lib/apache/mod_ruid2.so
    Include /etc/httpd/conf/extra/httpd-phpmodules.conf
    
    
    User apache
    Group apache
    در صورت اینکه مشکلتون حل نشد تماس بگیرید.

    موفق باشید.

  11. تعداد تشکر ها از Yas-Host به دلیل پست مفید


  12. #9
    کاربر اخراج شده
    تاریخ عضویت
    Apr 2013
    نوشته ها
    182
    تشکر تشکر کرده 
    105
    تشکر تشکر شده 
    129
    تشکر شده در
    99 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط Yas-Host نمایش پست ها
    مطمئن هستید با یک ادیت ساده مشکلشون حل می شود؟!
    اگر مجدد اقدام به بایلد کنند چی؟! دوباره همون آش و همون کاسه...

    دوست عزیز شما از mod_ruid2 در حال استفاده هستید و در حال حاضر Madules آن در فایل httpd.conf وب سرور شما include نشده است!
    برای حل این مشکل باید شما در فایل httpd.conf در زیر خط :

    کد:
    LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    عبارت زیر رو قرار بدید :

    کد:
    LoadModule    ruid2_module     /usr/lib/apache/mod_ruid2.so
    براحتی مشکل شما حل خواهد شد.

    در نتیجه شما در httpd.conf باید اینجوری داشته باشید :

    کد:
    #
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see 
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned. 
    
    
    ServerRoot "/etc/httpd"
    Listen 80
    
    
    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    LoadModule    ruid2_module     /usr/lib/apache/mod_ruid2.so
    Include /etc/httpd/conf/extra/httpd-phpmodules.conf
    
    
    User apache
    Group apache
    در صورت اینکه مشکلتون حل نشد تماس بگیرید.

    موفق باشید.
    انجام دادم اما درست نشد

  13. #10
    عضو دائم
    تاریخ عضویت
    Sep 2012
    محل سکونت
    hetzners rack
    نوشته ها
    2,739
    تشکر تشکر کرده 
    2,675
    تشکر تشکر شده 
    6,577
    تشکر شده در
    3,502 پست

    پیش فرض پاسخ : ارور آپاچی در دایرکت ادمین

    نقل قول نوشته اصلی توسط mossidanger نمایش پست ها
    انجام دادم اما درست نشد
    دسترسی رو ارسال کنید.

    بیشتر از 5 بار این مشکل بر خوردیم براحتی حل شده است.

صفحه 1 از 2 12 آخرینآخرین

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •