Fedora Servers :: Enable Directory Indexing In "/var/www/html/"?

Jan 26, 2010

I want to enable directory indexing in "/var/www/html/" [dont want to use index.html or something else htm or php file , just want to show all files and folders when browsing http://localhost ] security risk but i damn care about it.

Code:

1- Using Fedora 12
2- Apache version 2.2.14-1 .fc12.i686
3- SELINUX=disabled
getsebool -a | grep http

[code]....

View 6 Replies


ADVERTISEMENT

Fedora Servers :: F11 & Apache Permissions - Reading Files Out Of The Html Directory

Jun 12, 2009

With F11 installed Apache is having permissions issues reading files out of the html directory. Only wants to work with permissions set to read for other. [Thu Jun 11 23:25:28 2009] [error] [client 127.0.0.1] (13)Permission denied: file permissions deny server access: /var/www/html/index.html Tracked down the permissions issue. Is there a good reason not to change the group to apache and remove world read?

View 1 Replies View Related

Security :: How To Disable Directory Indexing

May 4, 2010

I'm concerning about my web server, I use nikto to see where should I improve my configurations, then I just know my web server is enable directory indexing. I have searched and found that I should just put

Code:

Options -Indexes to disable directory indexing. I have already restart apache but directory indexing still enable here is my httpd.conf Where did I wrong ?

Code:

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid

[code]....

View 6 Replies View Related

Ubuntu Servers :: Enable Active Directory Authentication?

Feb 3, 2010

Just installed Alfresco 3.2 using the Canonical repo in Karmic. Unable to find proper guide to enable Active Directory authentication.

View 3 Replies View Related

Ubuntu Servers :: How To Enable ContentDigest For Single Directory?

Apr 2, 2010

I have a folder just for download files (e.g., application update files). I would like to send the Content-MD5 http header for each file a user downloads.So, is there a way to send ContentDigest header for the contents of a specific directory only?The apache documentation makes it sound like I can set a context so that it applies to a directory only, but I can't figure out how this is done if this really is an option.Can anybody tell me if I am interpreting the documentation correctly and, if so, how to set apache to work this way?

View 4 Replies View Related

Fedora Servers :: Cannot Write Into Html Folder

May 9, 2009

I'm setting up my fedora 10 server. I am currently working on samba. I have added users and created their home directories with their own html directories. I have changed their html directories to 777. However, it appears to be read-only since I cannot create files or folders within it. Can anyone please give me some ideas as to what may be causing this? Probably some extra configurations I may have overlooked? Any help would be kindly appreciated. I also created a general wshare (writable share) directory for all users within home directory but I am encountering the same problem and cannot write to it.

View 8 Replies View Related

Fedora Servers :: /var/www/html - Not Allowing To Do Any Changes/create The Files Or Folders

Aug 8, 2011

I m able to do the changes in the home directory of the users' but when it comes to the /var/www/html folder, it's not allowing to do any changes/create the files or folders

I m able to view the files and it's contents

Global Settings:

View 4 Replies View Related

Fedora Servers :: Firefox Can't See Apache Index.html File

Aug 25, 2011

My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.

DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.

The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.

View 6 Replies View Related

Fedora Servers :: Apache Hosting User Public HTML - Forbidden 403

May 6, 2009

I have apache working,i have users set under admin group in /home/admin/username/html that is with an html publicfolder at the end, now permissions are set right, /html is set to mode 777, and the contents also inside them. But everytime i do a 10.0.11.25/~les i get a damn forbidden error code, its got me so pissed off and i dont' know whats the problem. This is the error i get: Forbidden 403 You don't have permission to access /~les on this server.

Code:

[Tue May 05 19:37:48 2009] [notice] Apache/2.2.11 (Unix) DAV/2 PHP/5.2.6 configured -- resuming normal operations
[Tue May 05 20:44:30 2009] [error] [client 10.3.0.254] (13)Permission denied: access to /~les denied

[code]....

View 10 Replies View Related

Fedora Servers :: Junk Added To HTML Files (HTTPD / VSFTPD)

Feb 16, 2011

I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.

Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other computer.

Code: .....
But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.

View 6 Replies View Related

Fedora :: How Does One Set ALSA Card Indexing

Feb 4, 2009

My situation: I have a desktop, with the following sound systems internal to it:HDA IntelSBLive! I also have a Creative Labs webcam connected via USB and another device (VR goggles) which have an audio component.My problem: a fair number of game applications use ALSA card#0 to play games, now pulse's ALSA module is at best lacking, so I don't use that for games. At this point I ahve pulse configured to always use HDA Intel for it's sink, what I would like to do is to configure it so that the SBLive! card is always ALSA card#0, regardless if the 2 USB audio-ish devices are installed. That way pulse can be running and I still get to play the games with native ALSA audio. The trick is how do I force by SBLive card to _ALWAYS_ be card#0 ?Update: there is an easy way, that I should have realized before, which allows for ALSA games to use the SBLive without having it at index 0, below is how to do it:

1) cat /proc/asound/cards
example output (mine):
0 [Intel ]: HDA-Intel - HDA Intel

[code]....

View 2 Replies View Related

Fedora :: Tracker Not Indexing Evolution Emails

Dec 8, 2010

I use the latest Fedora 14 with Evolution 2.32.1 and Tracker 0.8.17.In Evolution is the tracker plugin enabled, tracker is not indexing my email.It says in the status: Filesystem 100%, Email 0%, Applications 100% Why are the Emails in Evolution not indexed?

View 4 Replies View Related

Programming :: Why Create.html Appears In /cgi-bin Directory

Mar 18, 2010

I have index.html page with tables rows and cells. Within table I have:

Quote:

<table width="100%">
<tr>
<td class="form-font" width="40%" align="left">
<iframe src="create.html" width="100%" height="200" frameborder="no" scrolling="no">

[Code].....

but in index.html appears the following screeshot.jpg. create.html and index.html are both in /var/www directory. Why create.html appears in /cgi-bin directory?

View 2 Replies View Related

General :: Generate Html Based On Directory Structure?

Jul 22, 2010

does any one knows a linux based program/script that can generate html files based on directory structure?

View 1 Replies View Related

Programming :: HTML / PHP Access To Files And Hanging Directory?

Oct 1, 2010

Code:
<html>
<head>
</head>
<body>

[Code]....

Alright this works fine to pull the directories/files in the /var/Store/2010/ directory.

But when you click on of the links it tries to http://'serveradress'/$filename

note that $filename in the url is the filename clicked on so the php script is working. but I need it to change to that dir so that you can see the folder/files there and work your way up/down/side wise thru the folder tree to where you need to go. Not try and pop it as a direct url which doesn't work.

View 3 Replies View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

Jun 8, 2009

I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation

View 2 Replies View Related

Fedora :: 14 - Running Some Sort Of Indexing Service In The Notification Area

Nov 5, 2010

I have noticed on my netbook that F14 is running some sort of indexing service in the notification area. What is this, and how do I turn it off? I know what it is doing, but why is this just now important in F14. It is killing the battery life on my netbook.

View 2 Replies View Related

Fedora Servers :: Enable .php5 File Extension?

Sep 15, 2009

Platform information:
Fedora 11
HP a1250n PC w/3Gb RAM and 2Ghz (?) CPU
PHP v5 and Apache 2.2

The situation I've got is that my PHP and Apache installs do not recognize files with the .php5 file extension. I can successfully open .php files in my browser just as I have designed them. However, when I try to open a .php5 file in my browser, it simply outputs the code and not the web page (as it should). I've pasted (what I believe to be) the relevant parts of the output from phpinfo() command below. Any help correcting this is greatly appreciated as I have searched the forums and the Internet fairly exhaustively with various different keywords and still have come up empty. I think if I could figure out how to add ".php5" to the list of "Registered PHP Streams" then I would be all set, but I can't figure that out. I also tried copying /etc/php.ini to /etc/php.d/ and re-naming it php5.ini, but this did not work.

Clem
Configure Command
'./configure' '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--

[code]....

View 3 Replies View Related

Ubuntu :: AjaXplorer Install - Cannot Find HTML Root Directory

May 19, 2011

Installing ajaxplorer on ubuntu 10.0.4. I am new to linux. Cannot find the html root directory where installation files to be put. How to create a symbolic link from it's home (root where ajaxplorer files unzipped) to a place where the web front-end is visible and available to the HTTP server.

View 1 Replies View Related

General :: Wget Command - Download Only Html From The Url And Save It In A Directory

Jul 6, 2011

What is the Wget command to perform the following:

download only html from the url and save it in a directory

other file extentions like.doc,.xls etc should be excluded automatically

View 4 Replies View Related

Ubuntu :: Setup Mod_perl With Scripts And Html Files In The Same Directory?

Apr 27, 2011

I have mod_cgi working perfectly. However, it turns out there are features of mod_perl that I'm trying to use. I have followed all the documentation I can find on using Ubuntu's mod_perl install with Apache2. There seems to be some type of problems with the mod_perl's documentation, as it doesn't work as it's defined. However, I found a modification to make it work, but only is designated directories. If I tried to use in a directory with my other HTML files the regular HTML files will fail.

Using these steps (but using apt-get's install rather than compiling the tar ball). I did as follows:

[URL]

placed this in the httpd.conf file (which was basically the same as "a2enmod perl".

httpd.conf line:

Code:
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Alias /perl/ /home/web/perl/
<Directory /home/web/perl>
SetHandler perl-script

[Code]....

View 7 Replies View Related

Ubuntu :: WGET - Download HTML Page In One Directory And Other Elements In A Subdirectory?

Mar 12, 2010

i'm using wget with this parameters:

wget -E -H -k -K -p -nH -nd -Pfolder http:\www.mysite.com

using this parameters the main html page and all the images will download in the same folder. Instead i would like to have the html page in a folder and all the images,css ecc in a subdirectory for example i want to have:

c:foldermain.html
c:foldersubfolderimage.jpg
c:foldersubfolderimage2.jpg
c:foldersubfoldercss.css

It's the same that mozilla firefox do when i save a html page on local machine ("save page as" on file menu) Which parameters do i have to use?

View 1 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related

General :: Using Lynx To Create Html Page With The File Structure Of A Local Directory

Oct 10, 2010

I'm working with a dual-boot laptop running Ubuntu 10.0/Windows 7 and a Debian 5 VPS while the OS's shouldn't have much impact on my question.

What I would like to do is create a html page that I can upload to my VPS which lists all of the files/folders on my local 2TB hard drive (Specifically media such as Movies, Music, TV Shows...). The media obviously will not reside on the server, but I would like to at least have a list which will allow me to select, for instance, a bands artist so that it redirects me to the albums in the directory below.

Ultimately, I'm looking for Open Directory Browsing without actually having the media on my server. I have been attempting to create something to this effect using lynx, however, I'm not sure if it can be done with this command or if it's even possible for that matter.

View 1 Replies View Related

Ubuntu Servers :: Get CGI Script To Run Instead Of Index.html?

Jan 4, 2010

I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.

View 9 Replies View Related

Ubuntu Servers :: Html To Png (image) Converter?

May 3, 2010

I'm looking for a program (or script), that can convert html to an image (pngI've searched a lot on google, but haven't found anything that actually worked..Is the anyone that know of a converter, that works on ubuntu server?I use php, so it could be nice if php could use the program

View 4 Replies View Related

Ubuntu Servers :: PHP Not Working In *.html In LAMP

Jul 23, 2010

PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>

[Code]...

Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: Can't Edit The HTML File?

Oct 4, 2010

I installed apache and when i go to my 127.0.1.1 ip i see the welcome page. I found the directory where the html is located (var/www/index.html but i cannot edit the file. what is going on here? why cant i edit the HTML file?

View 1 Replies View Related

Fedora Servers :: Document Root Must Be A Directory

Jul 30, 2009

I am trying to get apache to start at boot in Fedora 10 but I am getting "Document root must be a directory", I tried to change the Selinux settings with:
chcon -R -h -t httpd_sys_content_t /www

I checked the new settings with ls -aZ and the changes apear to be fine.
apache apache unconfined_u:object_r:httpd_sys_content_t:s0
But I still get the same message on my boot.log file.

View 9 Replies View Related

Ubuntu Servers :: Apache HTML Include Files?

Aug 26, 2010

I seem to be unable to use the html

Code:
include virtual="test.txt" I have tried following the advice in this thread http://ubuntuforums.org/showthread.php?t=1510098 but it makes no difference. The file is there, but the line is delivered to the browser as-is. Using Lucid and a new install of apache 2.2 from the repository.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved