Help - Search - Members - Calendar
Full Version: open .rar file in unix ?
The Planet Forums > Control Panels > Plesk
TomNY
Anyone know if i could open a file in .rar extention in unix? how to unzip it if possible? what file do i have to install in my box and what is the command to zip or unzip?
many thanks to whoever care to help out this newbie:o
HostCrest
You can download RAR for Linux at http://www.winrar-rog.com/edownload/dosrar.html (I haven't tried it myself...)

You can get unzip at http://www.redhat.com/swr/i386/unzip-5.41-...-3.i386_dl.html and zip at http://www.redhat.com/swr/i386/zip-2.3-8.i386_dl.html
TomNY
Many thanks Hostcrest.........i did it cool.gif

Love everyone in here....they're so helpful:p
TomNY
HostCrest ....do you know how to make the whole folder list on WWW ....what i meant is when i type http://www.mydomain.com/folder/

the content in "folder" doesn't list unless i link it like this
http://www.mydomain.com/folder/filename.jpg

I'm having Plesk Box....don't know if anyone did it before?:confused:
HostCrest
Yes, it's possible. Create a file vhost.conf in /usr/local/psa/home/vhosts/domain.com/conf and then include the following line to the file:
CODE
Options +Indexes
Do the same for vhost_ssl.conf if you need to enable listings for SSL connections.

vhost.conf and vhost_ssl.conf allow you to configure specific Apache settings for each individual domain.
TomNY
http://216.40.250.195/test/

i did exactly what you told.....but still doesn't work....do i have to chown or chmod vhost.conf ??
please help
HostCrest
Are you using a dedicated IP address for that site (i.e., not name-based hosting)? If you're using name-based hosting, the configuration of the domain is bypassed when you try to access the site by its IP address. That's because the VirtualHost settings (and therefore the associated vhost.conf settings) are based on the hostname, not the IP address.

If you want to change the server-wide settings for directory listings (not recommended...), you can edit /usr/local/psa/apache/conf/httpd.conf and change
CODE
<Directory />

   Options FollowSymLinks

   AllowOverride None

</Directory>
...to...
CODE
<Directory />

   Options Indexes FollowSymLinks

   AllowOverride None

</Directory>

Then, the directory listing will be shown for all domains and IP addresses in the absence of index.html, etc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.