|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
Well, to say the truth it has been a while since I set ftp. I use scp instead.
Good to hear you made it after trying... ![]() |
|
#17
|
|||
|
|||
|
Thanks
Thanks,
Can any one help me... How can i disable the default webserver's Directory listing. I tried a lot... Also can u please hep me regarding tape drive: I installed the Taper packe and how can i take a back up in to the tape drive and restore it. Please give me the all commands for install tape drive, taking backup in to tape drive and restoring backup from tape drive. Tanks Sunil |
|
#18
|
|||
|
|||
|
<directory "/usr/local/apache/htdocs">
Options -Indexes </directory> Please direct your questions to the correct forums (this one belongs to the Apache discussion group within this server) Gimme a little time for taper... |
|
#19
|
|||
|
|||
|
startup as root
1. /sbin/taper -T scsi 2. setup your tape in Change preferences->Tape drive preferences (rewtape st0 [for info rewind at the beggining of our discussion], nonrewtape /dev/nst0) 3. Put tape size in MB there leave this as is and return one level up 4. visit Global preferences to check your logs and infos 5. return one level up and check Backup preferences 1. I used to have no compression, Soft links as links. 6. return one level up. Visit Backup preferences 2. I used to use Default incremental backup 7. return one level up. Restore/Mkinfo preferences. I usualy left it intact 8. return one level up. Unattended preferences. Append files :yes, Overwrite unrecogn...:no 9. return one level up. 10. return one level up 11. Save preferences: to file+to command line file 12.return one level up. Backup module. Create tape if not recognized. 13. After a (long) creation the directory listing shows up. The capital letter 'I' (iron) inserts dirs and files to the list for archiving. For other documentation, please check manpage. Restoring is similar except you choose Restore. That should be a simple startup. |
|
#20
|
|||
|
|||
|
I tried even this also
<Directory "/var/www/html"> Options -Indexes ... </Directory> but i'm able remove the directory listing, when i'm going to https://localhost/ it's giving forbidden error why? Please how can i eliminate this .... I am able to see the site using http, but not with https |
|
#21
|
|||
|
|||
|
Also giving
"You are not authorized to view this page" error |
|
#22
|
|||
|
|||
|
Locate section about https :
<IfDefine SSL> .... </IfDefine> put the previous hint I posted after document root in this section and restart the server. |
|
#23
|
|||
|
|||
|
Still it showing the directory listing
I'm not able to understand.... |
|
#24
|
|||
|
|||
|
Thanks for helping me to use of tape drive
Excellent command listing above reply Thanks a lot |
|
#25
|
|||
|
|||
|
Locate SSL section in httpd.conf :
<IfDefine SSL> .... </IfDefine> in between IfDefine tags, did you put: <Directory "/var/www/html"> Options -Indexes </Directory> to make it look like: <IfDefine SSL> DocumentRoot "/var/www/html" <Directory "/var/www/html"> Options -Indexes </Directory> ... other directives... ... ... </ifDefine> ? |
|
#26
|
|||
|
|||
|
i did this but still displaying the directory listing
???? |
|
#27
|
|||
|
|||
|
Impossible My Lord!
I tested it myself. Look: Code:
<IfDefine SSL>
## SSL Virtual Host Context
<VirtualHost _default_:443>
# General setup for the virtual host
DocumentRoot "/srv/www/htdocs"
<Directory "/srv/www/htdocs">
Options -Indexes
</Directory>
#ServerName new.host.name
ServerName fakt338.lxindex1
#ServerAdmin you@your.address
ServerAdmin anf@fakt338.lxindex1
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/httpd/ssl.crt/server.crt
#SSLCertificateFile /etc/httpd/ssl.crt/server-dsa.crt
SSLCertificateKeyFile /etc/httpd/ssl.key/server.key
#SSLCertificateKeyFile /etc/httpd/ssl.key/server-dsa.key
#SSLCertificateChainFile /etc/httpd/ssl.crt/ca.crt
#SSLCACertificatePath /etc/httpd/ssl.crt
#SSLCACertificateFile /etc/httpd/ssl.crt/ca-bundle.crt
#SSLCARevocationPath /etc/httpd/ssl.crl
#SSLCARevocationFile /etc/httpd/ssl.crl/ca-bundle.crl
#SSLVerifyClient require
#SSLVerifyDepth 10
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>
#SSLOptions +FakeBasicAuth +ExportCertData +CompatEnvVars +StrictRequire
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/srv/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog /var/log/httpd/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
</IfDefine>
This one is even the original (as far as I remember) with the adviced pieces added to it. This one gives me 'Forbidden' while calling: https://server:443/ See it, grab it, test it, post it AND we'll C. |
|
#28
|
|||
|
|||
|
Tnanks
Thanks for u r support...
I tried this once, when i try https://myserve/ it's giving "You are not authorized to view this page" error message how can i view my site perfectly.... That's all... |
|
#29
|
|||
|
|||
|
Also i need help on :
How can i setup the Mail Server on my RedHat Linux 7.3 OS, I want to setup SMTP and POP3 in my server. Can u help me what are all the packages i need to install and tell me teh list of commands which i can configure my server. Thanks for your grat support... ![]() |
|
#30
|
|||
|
|||
|
1. you call http://mysrv:443/. not simply http://mysrv/ ( I believe you left the original httpd.conf intact except you added what I suggested)
2. I use postfix + pop3 srv. Despite working SMTP mail srv it has been a time I did it last. a. rpm -i --test postfix......i386.rpm b. satisfy the dependency packages if any ( rpm -i --test depend_package.rpm) If you find yourself running around in a circle of dependencies just override --test and use --nodeps to create a 'starting point'. c. install pop3 and postfix servers in the order i present it (it probably will be required so anyways) d. open /etc/postfix/some.cfg and fill the cfg file with the particular info about hosts etc. e. put the MX record into your DNS (or enable the incomming/outgoing port and ipt of your mailsrv on your cisco [or any other router if not done so yet]) Last edited by zby : November 6th, 2003 at 08:31 AM. |