FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old November 2nd, 2003, 02:54 PM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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...

Reply With Quote
  #17  
Old November 3rd, 2003, 06:45 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
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

Reply With Quote
  #18  
Old November 3rd, 2003, 07:50 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
<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...

Reply With Quote
  #19  
Old November 3rd, 2003, 08:10 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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.

Reply With Quote
  #20  
Old November 4th, 2003, 01:50 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
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

Reply With Quote
  #21  
Old November 4th, 2003, 01:52 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
Also giving
"You are not authorized to view this page" error

Reply With Quote
  #22  
Old November 4th, 2003, 02:14 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
Locate section about https :
<IfDefine SSL>
....
</IfDefine>

put the previous hint I posted after document root in this section and restart the server.

Reply With Quote
  #23  
Old November 4th, 2003, 04:36 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
Still it showing the directory listing
I'm not able to understand....

Reply With Quote
  #24  
Old November 4th, 2003, 04:39 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
Thanks for helping me to use of tape drive

Excellent command listing above reply

Thanks a lot

Reply With Quote
  #25  
Old November 5th, 2003, 02:54 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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>

?

Reply With Quote
  #26  
Old November 5th, 2003, 05:32 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
i did this but still displaying the directory listing
????

Reply With Quote
  #27  
Old November 5th, 2003, 07:33 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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.

Reply With Quote
  #28  
Old November 6th, 2003, 02:24 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
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...

Reply With Quote
  #29  
Old November 6th, 2003, 02:29 AM
gsunilr gsunilr is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: India
Posts: 22 gsunilr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to gsunilr
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...

Reply With Quote
  #30  
Old November 6th, 2003, 08:26 AM
zby zby is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Prague, Czech Republic
Posts: 825 zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level)zby User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 16 h 4 m 55 sec
Reputation Power: 65
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.

Reply With Quote
<