Debian Configuration :: Index.php File DOWNLOADS Instead Of Displaying
Aug 15, 2010
I am running debian lenny running apache (latest) i am trying to make a webserver. i put the index.html file in my www folder. it shows up when i go to my site (localhost) i put an index.php file in my www folder and when i try to go to my site it Downloads the index.php file instead of showing it.
View 2 Replies
ADVERTISEMENT
Feb 14, 2011
i have a weird issue with my web server. every time i enter my domain name instead of processing my index file it downloads it. wth could be the problem first time this ever occurred. recently installed webmin.
View 7 Replies
View Related
Aug 14, 2011
i recently started sockets programming. In the process i began to look for relevant network information about my computer and realized that ifconfig wasn't displaying the same information that resides in my /etc/network/interfaces file. On the interfaces file my IP address is 192.168.1.109 for interface eth0 but ifconfig displays 192.168.1.101. I was under the impression that ifconfig got its information from the interfaces file but clearly doesn't. I tried re configuring the device with ifconfig and then disabling and re enabling the device with ifdown and ifup so that the device updated its information but it didn't.
[Code]....
View 3 Replies
View Related
Jul 9, 2010
I just installed Apache2 and PHP on my computer but everytime I go to my localhost folder (ex: http://localhost/test/), firefox starts to download the index.php instead of running it. This doesn't happen in Chrome.
View 3 Replies
View Related
May 26, 2011
I'm having a bit of trouble getting my index.html to display. when i use [URL] and type in my dyndns url i just get "index of /" and not the index.html page
ive got a index.html in var/www and home/gav/public_html and set chmod -R 755 to the index.html
and still no joy....
gav@lapfrog:/etc/apache2$ gksudo gedit httpd.conf
Userdir public_html
Options +Indexes
Options All
[Code]....
View 7 Replies
View Related
Aug 23, 2011
I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Failed to open /proc/filesystems: No such file or directory
[Code]..
View 14 Replies
View Related
Feb 8, 2011
i want to move the text of a file to another file,using sed command. how can i do it?
View 1 Replies
View Related
Aug 17, 2015
There is this bug in the latest version of Ubuntu, which is also Jessie, which is:
Can't copy a file from SMB share to the local file system: Software caused connection abort
The problem, apparently, is that newer versions of Samba hit servers with multiple requests at the same time, and for some reason the Zyxel and Iomega boxes can't handle this. The best solution they've come up with is to modify the smb.conf file on your server to include this setting: "max mux = 1".
Here is the reference material on this bug: [URL] ....
People who develop samba have fixed it in the latest version but neither the ubuntu nor Debian have released the fixed version of nautilus, as of yet. Here, is the reference: [URL] ....
View 0 Replies
View Related
Jul 30, 2010
I'm writing a download script, that will serve files for download and that has to log each download. I'd write something like this:
Code:
log_downlad($file_id, $user_id...);
$dl_path = $server_mount."/".$file_hash...;
[code]...
View 1 Replies
View Related
Aug 24, 2010
I found an icon theme I want to use. The problem is that it has no index file. Is there some kind of script I can run to automatically generate the index file? Or do I have to go about this manually?
View 3 Replies
View Related
Nov 7, 2010
I noticed that Ubuntu takes some time in building the file search index. It seems to do it overnight while my PC is powered down )Is there a way to build the index by a command so that I could do searches whenever I wanted, specially immediately after installing a new program?
View 4 Replies
View Related
Apr 8, 2011
I use nautilus at the moment on Ubuntu 10.10 Maverick. I use grep cli command to locate text words or comments in a folder containing hundreds of files, each having 5 or 6 text documents in Greek and English.
I am looking for a manager that will index all entries, and enable me to find a phrase or word within these documents quickly. I seen to recall that some time ago I saw a manager that was capable of this, that generated an index, as data was added, but have been unable to locate it with google.
View 1 Replies
View Related
May 22, 2011
I have a theme for Xubuntu 11.04 I would like to install. How would I do it, I have a Metacity-1 folder, a GTK-2.0 folder, and a theme.index file.
View 4 Replies
View Related
Jul 1, 2010
I just installed linux. How can I change the index.html file?
my dir is var/www/index.html
it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)
View 7 Replies
View Related
Jan 29, 2010
Last night I was using Ubuntu just downloading music with Limewire and it was all working fine until I clicked on a a song to download and a message popped up saying something like "This computer doesn't have a file for Limewire downloads", I am not exactly sure on how it said it but it had something to do with the File System. Since it was so late I just decided to leave it like that and deal with it in the morning.
I woke up and when I started Ubuntu and it says "File System not found", and something about pressing Control-D. Sorry for the lack of info I just don't remember exactly what it said, but like I mentioned above it has something to do with the File System that apparently isnt working. I decided to re-install Ubuntu and it worked great, I am using ubuntu right now but it doesn't have any of the setting and apps etc etc that I had on the other one.
When I restart the computer and the dual-boot menu comes up it has 2 types of ubuntu, this one that works and the other one that everytime I click on it it keeps showing me the "File System not found". Is there any way to fix my old version of Ubuntu 9.10? And if I cant then how can I delete the damaged version of Ubuntu so it doesn't come up in the Dual-Boot screen? And I also have Windows 7 on it, how can I delete that one also?
View 4 Replies
View Related
Oct 13, 2010
i can download but i cant run anything because there is no ar file path for ark. please dont tell me to download something to get the ar file path because if i download it i can't open it
View 1 Replies
View Related
Sep 6, 2011
I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2
I put this same ip into etc/hosts:
192.168.0.2 localhost localhost.localdomain
One space separates the hostnames from the ip in /etc/hosts.
The hostname command returns: localhost.localdomain
I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.
View 7 Replies
View Related
Feb 16, 2011
Is there a program available that would allow me to create an index in a pdf file that has no security restrictions on it? I know people can lock there files so I am not worried about thise but if I have open permissions on a pdf file how do I go about creating an index. It seems that by default you get the thumbnail view but I like to be able to click on a index list to go to a page.
View 2 Replies
View Related
Jan 29, 2011
I have a set of PDFs I'd like to index and made searchable. Most importantly, I'd like a web interface so I can search and access remotely. This morning I researched into several different options, but all seemed to fail.
Google Desktop Search - No good because web interface is only to the local host
Beagle - No good because it is no longer support and there are executation errors when running in Maverick
Recoll - No web interface
Strigi - No web interface(?)
I recall using one about 2 years ago that was deployed on Apache Tomcat, but I can't remember the name.
View 2 Replies
View Related
Sep 25, 2010
I need a script that can do this: A script that searches all directories and subdirectories for .html files When a .html file is found it creates a index.html file in that folder. It then edits the index.html file and inserts links to all of the .html files that are in that folder into the body. If no .html files are found, it searches for folders. It then creates a index.html file with links to all of the folders.
View 4 Replies
View Related
Sep 26, 2010
No matter what site I try to get a file from, when trying to download - let's say - a .pdf file, I get a dialog box that tells me that the file could not be saved,"because the source file could not be read. Try again later, or contact the server administrator." This is on my laptop only, a clean install of Lucid Lynx, the files download fine on either of my desktop machines, each an earlier Ubuntu release. I'm using Firefox and cannot try another browser since I'm unable to download one. Can't seem to find anything relevant in the log files. What could be happening?
View 2 Replies
View Related
May 13, 2010
I trashed my Karmic Ubuntu install and installed Lucid (I had heard that the boot times were much reduced and I didn't see any improvement in my normal upgrade). I reinstalled Drupal but find that my installation of Apache does not run the scripts, but rather passes the php text file to the browser. IIRC when I installed it apt configured Apache correctly without me having to edit .htaccess or /etc/apache2/httpd.conf which makes me think that I am missing a key dependency.
Does anyone know of a check list to which I can refer to make sure that I've installed everything? My installation has Postgres instead of MySQL. Failing which, in the event that my memory is faulty, where can I find which changes need to be applied to the configuration files above?
View 4 Replies
View Related
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
Mar 4, 2011
Whenever I try to edit my index.html file with Winscp (SSH), it says I don't have the permission to do so. Is there anyway I can change that?
View 4 Replies
View Related
Aug 16, 2010
Do I need to restart the webserver if I make any change in the file index.html? Or should the changes get reflected when I open the page again without restarting the service?
View 3 Replies
View Related
May 11, 2010
I am trying to install flash-plugin-10.0.45.2-release.i386.rpm so I inputed the folowing command and got the following error output:
Code:
bash-3.1$ rpm -i *.rpm
error: cannot open Basenames index using db3 - No such file or directory (2)
error: cannot open Providename index using db3 - No such file or directory (2)
error: cannot open Conflictname index using db3 - No such file or directory (2)
error: Failed dependencies:
[Code]...
View 3 Replies
View Related
Apr 13, 2011
Ubuntu 1010 server 64bitlighttpdFor the 1st domain,say domain1
I name the index file as:
/var/www/index.html
/home/lighttpd/default/http/index.html
[code]....
View 4 Replies
View Related
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
Feb 18, 2011
Dear all
I am new to git (and storing multiple copies of my code).
I was using git for one month (git status, git add, git commit) to store my files.
I have problems to add more files to my branch
git add BasisExpansion.R
fatal: Unable to write new index file
this was working great unless the day my system administrator destroyed my main partition (it was an accident) and installed everything from scratch. My home directory stayed intact (I did not lose any files not git files that are stored under /home). But from this point of time git returns always that error. My system administrator creater the same user and group as my old user was but this didnot fix the problem.
I am not sure If I can recover my old git structure or would it be better to wipe out the old git dir and start a new one?
View 8 Replies
View Related
Aug 29, 2010
Can anyone point me to already built and mostly working utilities that will catalog the contents of (external) USB and flash media in a way that they might be searched?With cheap (under $100 US) terabyte external drives, it is too easy to get another drive and fill it. I'm looking for utilities or applications that will help me know what I have, cull the duplicates, and avoid the need to spin a drive just to see if it holds what I seek.
Years ago there were utilities that would read the contents of diskette media and create a printable "index" or "catalog" page. The pages were conveniently sized to match the diskette so that one could store the page in the diskette sleeve for future reference.Later, the pages got replaced with applications that stored a disketter ID along with each file name. One could then search for a name, or pattern, and discover which diskette held the file(s) of interest. Today we don't have diskette sleeves, but we do have cases for our external USB drives and wallets for our flash media. A printed index would be nice to have.
View 14 Replies
View Related