NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
YuushiSato
Sep 06, 2011Apprentice
[Non Résolu]Erreur lors d'une config 2 site sur nas (4.2.19)
Bonjour, Voila, j'ai voulu suivre ce post: http://www.readynas.com/forum/viewtopic.php?f=34&t=56599. Le problèmes, c'est que je me suis trompé et maintenant je n’accède plus à la page frontview. ...
YuushiSato
Sep 10, 2011Apprentice
D'accord et désolé pour le double post.
J'ai utilisé winscp version graphique ou je rentre dans les fichiers comme en ftp.
/etc/frontview/apache/httpd.conf
/etc/frontview/apache/Ports.conf
/etc/frontview/apache/Virtual.conf
/etc/frontview/apache/Shares.conf.
y'a rien dedans de plus moi il est double car
/etc/frontview/apache/Shares.conf.1
Tout y est comme tels sur le nas
De plus maintenant quand on fait /etc/init.d/frontview restart voila ce que sa me marque
Pour infos tout ceci marchais avant le firmware 4.2.19
J'ai utilisé winscp version graphique ou je rentre dans les fichiers comme en ftp.
/etc/frontview/apache/httpd.conf
ServerRoot /frontview/ui/resource/html
ServerTokens ProductOnly
LockFile /var/log/frontview/apache.lock
PidFile /var/log/frontview/apache-ssl.pid
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
StartServers 1
MinSpareServers 1
MaxSpareServers 1
MaxClients 10
MaxRequestsPerChild 250
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so
LoadModule addonhandler_module /frontview/lib/mod_addonhandler.so
APREQ2_ReadLimit 2147483648
Include /etc/frontview/apache/Auth.conf
ExtendedStatus On
User admin
Group admin
ServerAdmin admin@localhost
Options Indexes
DocumentRoot /frontview/ui/resource/html
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.(js|jpg|jpeg|gif|html|htm|png|css)">
Header set Pragma: public
</Files>
UseCanonicalName Off
TypesConfig /etc/mime.types
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile share/magic
</IfModule>
HostnameLookups Off
ErrorLog /var/log/frontview/error.log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P %T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/frontview/access.log combined
<IfModule mod_autoindex.c>
IndexOptions Charset=
IndexOptions FancyIndexing NameWidth=*
AddIconByEncoding (CMP,/images/Icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/images/Icons/text.gif) text/*
AddIconByType (IMG,/images/Icons/image2.gif) image/*
AddIconByType (SND,/images/Icons/sound2.gif) audio/*
AddIconByType (VID,/images/Icons/movie.gif) video/*
AddIcon /images/Icons/binary.gif .bin .exe
AddIcon /images/Icons/binhex.gif .hqx
AddIcon /images/Icons/tar.gif .tar
AddIcon /images/Icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /images/Icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /images/Icons/a.gif .ps .ai .eps
AddIcon /images/Icons/layout.gif .html .shtml .htm .pdf
AddIcon /images/Icons/text.gif .txt
AddIcon /images/Icons/c.gif .c
AddIcon /images/Icons/p.gif .pl .py
AddIcon /images/Icons/f.gif .for
AddIcon /images/Icons/dvi.gif .dvi
AddIcon /images/Icons/uuencoded.gif .uu
AddIcon /images/Icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /images/Icons/tex.gif .tex
AddIcon /images/Icons/bomb.gif core
AddIcon /images/Icons/back.gif ..
AddIcon /images/Icons/hand.right.gif README
AddIcon /images/Icons/folder.gif ^^DIRECTORY^^
AddIcon /images/Pix.gif ^^BLANKICON^^
DefaultIcon /images/Icons/unknown.gif
ReadmeName /html/AUTOINDEX.html
HeaderName HEADER.html
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv
</IfModule>
AddType application/x-tar .tgz
AddType image/bmp .bmp
AddType text/x-hdml .hdml
AddType video/x-ms-asf .asf
AddType video/x-ms-asf .asx
AddType video/x-msvideo .avi
AddType video/quicktime .mov
AddType video/x-sgi-movie .movie
AddType video/mp4 .mp4
AddType video/mpeg .mpe
AddType video/mpeg .mpeg
AddType video/mpeg .mpg
AddType video/x-sgi-movie .mv
AddType video/vnd.mpegurl .mxu
AddType video/quicktime .qt
AddType video/x-rad-screenplay .vx
AddType video/x-ms-wm .wm
AddType video/x-ms-wmv .wmv
AddType video/x-ms-wmx .wmx
AddType video/x-ms-wvx .wvx
AddHandler cgi-script .cgi .sh .pl
</IfModule>
#AddDefaultCharset utf-8
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
BrowserMatch "Microsoft-WebDAV-MiniRedir/5.1.2600" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS" redirect-carefully
# Drop the Range header when more than 5 ranges.
# CVE-2011-3192
SetEnvIf Range (,.*?){5,} bad-range=1
RequestHeader unset Range env=bad-range
</IfModule>
DAVLockDB /ramfs/WebDAVLock.db
DAVMinTimeout 600
SSLEngine On
SSLSessionCache dbm:/ramfs/gcache.db
SSLSessionCacheTimeout 600
SSLCACertificatePath /etc/frontview/apache
SSLCertificateFile /etc/frontview/apache/apache.pem
# -------------------------------------------------------------------
# Uncomment following when more graceful error message docs are used.
# Currently IE defaults it it's browser message, overriding any error
# docs we create anyway.
# -------------------------------------------------------------------
# ErrorDocument 401 /error/401.html
# ErrorDocument 403 /error/403.html
# ErrorDocument 404 /error/404.html
# ErrorDocument 500 /error/500.html
# Alias /error /frontview/ui/error
<Location />
Options ExecCGI
DirectoryIndex redirect.html index.html index.htm index.php
</Location>
Alias /message_handler /frontview/lib
<Location /message_handler>
Options ExecCGI
DirectoryIndex message_handler.cgi
Include /etc/frontview/apache/Auth.conf
AuthName "Control Panel"
require user admin
</Location>
<Location /addon>
SetHandler addonhandler
</Location>
Alias /shares /frontview/ui/resource/html
<Location /shares>
Options ExecCGI
DirectoryIndex user.pl
Include /etc/frontview/apache/Auth.conf
AuthName "My Shares"
require valid-user
</Location>
Alias /password_recovery /frontview/ui/resource/html
<Location /password_recovery>
DirectoryIndex password_recovery.html
Options ExecCGI
</Location>
<Location /index.html>
SetHandler server-status
Order Deny,Allow
Deny from all
</Location>
Alias /images/ /frontview/ui/resource/images/
<Directory /images>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /theme/ /frontview/ui/resource/theme/
<Directory /theme>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /js/ /frontview/ui/resource/js/
<Directory /js>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /language/ /frontview/ui/resource/language/
<Directory /language>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
PerlSwitches -I /etc/frontview/addons/ui
Alias /addons/ /etc/frontview/addons/ui/
<Directory /addons>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /html/ /frontview/ui/resource/html/
<Directory /html>
Options MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /nasadmin /frontview/ui/resource/html
<Location /nasadmin>
DirectoryIndex index.html
Options ExecCGI
AuthType Basic
AuthName "Control Panel"
require user admin
</Location>
Alias np_handler /frontview/lib
Alias list_handler /frontview/lib
PerlSwitches -I /frontview/lib
PerlModule Frontview
PerlModule get_handler
PerlModule list_handler
<Location /get_handler>
SetHandler perl-script
PerlHandler get_handler
PerlSendHeader On
Options ExecCGI
Order allow,deny
Allow from all
Include /etc/frontview/apache/Auth.conf
AuthName "Control Panel"
require user admin
</Location>
<Location /list_handler>
SetHandler perl-script
PerlHandler list_handler
PerlSendHeader On
Include /etc/frontview/apache/Auth.conf
AuthName "Control Panel"
require user admin
Options ExecCGI
Order allow,deny
Allow from all
</Location>
Alias /np_handler /frontview/lib
<Location /np_handler>
Options ExecCGI
DirectoryIndex np_handler.pl
Allow from all
</Location>
Alias /dir_list /frontview/lib/dir_list.pl
<Location /dir_list>
Include /etc/frontview/apache/Auth.conf
AuthName "Control Panel"
require user admin
Options ExecCGI
Allow from all
</Location>
#Alias /admin /frontview/ui/admin
#<Location /admin>
# DirectoryIndex index_admin.cgi
# Options ExecCGI
# AuthType Basic
# AuthName "Control Panel"
# require user admin
#</Location>
Include /etc/frontview/apache/Ports.conf
Include /etc/frontview/apache/Virtual.conf
Include /etc/frontview/apache/addons/*.conf
Include /etc/frontview/apache/Shares.conf
/etc/frontview/apache/Ports.conf
Listen 80
Listen 443
Listen 8443
NameVirtualHost 192.168.1.10:80
NameVirtualHost 192.168.1.10:443
NameVirtualHost 192.168.1.10:8443
/etc/frontview/apache/Virtual.conf
<VirtualHost _default_:80>
ServerName ServerNasXtrem
DocumentRoot "/frontview/ui/resource/html"
SSLEngine Off
<Directory /frontview/ui/resource/html>
Options ExecCGI
DirectoryIndex index.html
</Directory>
RewriteEngine on
RewriteRule ^/nasadmin(.*)$ https://%{SERVER_NAME}/nasadmin/$1 [R,L]
</VirtualHost>
<VirtualHost 192.168.1.10:80>
ServerName servernasxtrem.net
ServerAlias http://www.servernasxtrem.net
DocumentRoot "/c/website/"
SSLEngine off
<Directory /c/website>
Options ExecCGI
DirectoryIndex index.html
</Directory>
ErrorLog /var/log/frontview/error.ServerNasXtrem.log
CustomLog /var/log/frontview/access.ServerNasXtrem.log combined
</VirtualHost>
/etc/frontview/apache/Shares.conf.
y'a rien dedans de plus moi il est double car
/etc/frontview/apache/Shares.conf.1
Tout y est comme tels sur le nas
De plus maintenant quand on fait /etc/init.d/frontview restart voila ce que sa me marque
/etc/frontview/apache$ /etc/init.d/frontview restart
-bash: line 6: /etc/init.d/frontview: No such file or directory
Pour infos tout ceci marchais avant le firmware 4.2.19
Related Content
NETGEAR Academy
Améliorez vos compétences avec la Netgear Academy - Formez-vous, certifiez-vous et restez à la pointe de la technologie Netgear !
Rejoignez-nous!