Ubuntu Installation :: Getting A Phtml File While Accessing Webserver Through Firefox?

Apr 27, 2010

I'd like to ask a question about the apache webserver. I'm very sorry to post this topic here. It seems likely that this post is better off in server platforms and i didn't know where to post it.

Anyway, i have a problem with my apache webserver. Well, not so much however it is behaving strangely. When i installed the apache webserver and accessed the webroot (/var/www) through my webbrowser it said: It works!. Then i added a folder with an .php file to the root folder and get an error: access denied when i accessed it through my webbrowser. I'v tried to modify /var/www with chmod but this didn't work, however i do get a .phtml file offered as a download.

Also i have looked for a configuration file (httpd.conf) to alter the "DirectoryIndex" string. I did find the apache2.conf instead but it has no "DirectoryIndex" directive. I did google this problem but there is no straight answer to this.

View 5 Replies


ADVERTISEMENT

Server :: Accessing Internal Webserver From Public Webserver

Dec 18, 2009

Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.

But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com

I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.

View 1 Replies View Related

Ubuntu Servers :: Accessing Webserver From Outside LAN?

Oct 20, 2010

I posted this question a while ago but haven't had any luck getting it answered so I reworded everything to make it more clear. I started an Ubuntu web server on an old work laptop. The purpose of this server is to host a small file-sharing site, a forum, and a wiki. I have no prior experience with command line Ubuntu but am trying to figure this all out.

So far Ive setup the LAMP server, so apache, mysql, and php are installed. Ive also installed phpBB3 and Mediawiki. Both phpBB3 and Mediawiki are able to open from inside my LAN. I also have SSH setup and am able to use putty to manage the server from inside my LAN. Mediawiki runs slow internally but this is a secondary concern.

Externally to the LAN I can access the webserver using SSH(but sometimes it is too slow for anything that opens up such as nano or the SQL password prompt to display and the connection drops). I can also browse to the site and see the default apache welcome message. But I cannot open the mediawiki or phpbb site. Both will sit indefinitely and not open. The access log on the server shows that the request is being passed through though.

View 9 Replies View Related

Software :: Accessing Tomcat Webserver From Another Machine?

Apr 19, 2010

I have installed Tomcat on an Ubuntu 9.10 machine and previous to now I have been able to access the website from any other machine within the network. I suddenly am no longer able to do this.I also noticed that on the local machine I can access usinghttp://localhost but not by doing http://172.16.7.62 (again, from the local machine), should that work (assuming that it is the correct IP address of the machine)

View 2 Replies View Related

Debian Configuration :: Phpmyadmin Accessing Mysql On Debian Webserver?

Feb 9, 2011

I have installed debian on my laptop and included during the installation the webserver version. Now I want to develop a page locally to test it before I put it on the web. I first had an old reflex, jumping straight away and installing xampp. But then I thought that I already all that it takes as I installed the webserver feature of debian. I installed phpmyadmin ( with the command #apt-get install phpmyadmin) as to be able to create and attribute databases but when I try to log in I have the following message:

"Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)"

I googled but I cannot find the mysql.conf (I searched using "find") but with no result. It is all very blury what is going on with this webserver option running on my laptop...

View 9 Replies View Related

General :: Remote Webserver And Sshd_config File?

May 5, 2011

I wanted to add a user to have permission to login to our webserver. Foolishly I did not back this file up. The only thing I changed was the last part of the file which was:

# override default of no subsystems
AllowUsers chris acosentino
Subsystem sftp /usr/libexec/openssh/sftp-server
to
# override default of no subsystems
AllowUsers acosentino techmaster
Subsystem sftp /usr/libexec/openssh/sftp-server

Now I'm still connected with that terminal, but any other attempt to get into the webserver from either a new terminal or from winscp results in:ssh_exchange_identification:Connection closed by remote host.If I lose connection to this last terminal I guess I'll be screwed.

View 2 Replies View Related

Fedora Servers :: Apache Webserver - Can't Paste File / Make It Possible?

Aug 4, 2009

I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..

View 2 Replies View Related

Programming :: File Access Alert \ Only Gives The Processes Accessing The File At That Particular Moment?

Jul 11, 2011

I am trying to check what all processes are accessing a particular file (a UDP socket in my case) on a filesystem.I am using 'fuser' for that.But, it seems, it only gives the processes accessing the file at that particular moment.Is there any way to continuously run 'fuser' (or some other command) which will give all processes accessing the file during its run?OR is it possible to generate a filesystem alert when a particular process accesses the file?

View 1 Replies View Related

Ubuntu Installation :: Upgrading Firefox From TAR File

Mar 29, 2010

I have Firefox 3.0.18 and can't find a way to upgrade to 3.6. The Synaptic Package Manager says Firefox is already installed, so I uninstalled it but the re-install just gives me 3.0.18 again! I have downloaded the tar file.

View 8 Replies View Related

General :: How Many File Descriptors Accessing A Given File

Nov 28, 2010

On linux, is there a way to count the number of file descriptors open to a some file?

View 1 Replies View Related

Fedora :: Firefox Failed To Execute Child Process "/usr/lib/firefox-3.5.4/firefox" (No Such File Or Directory)?

Apr 1, 2010

Here is the message:Failed to execute child process "/usr/lib/firefox-3.5.4/firefox" (No such file or directory)Firefox is installed and is there.

View 10 Replies View Related

Debian Installation :: PXE Install Lenny With Files From CD On Webserver?

Nov 1, 2010

I am having serious trouble getting Debian to install over our LAN using PXE/syslinux, a custom preseed.cfg, and the files from the DVD on a webserver. I think the problem is using the files from the DVD on the webserver instead of a mirror, but I believe this should be possible. I do not have enough space on the webserver to house an entire debian mirror.

[Code]...

View 10 Replies View Related

Ubuntu :: Several Scripts Simultaneously Accessing One File

Jan 21, 2010

I made a script for batch processing brain scans (with FreeSurfer). I have a batch file stored on an NFS server that looks something like this:

Code:

subject1
subject2
subject3
subject4

now my script is performed on several computers at a time, first it marks an item to be in use (with sed -i 's/.../...'), then processes it (it gets the actual subject files from elsewhere on the server, then puts them back), then marks it to be finished in the list. so during action the batch file should look something like this:

Code:

subject1 finished
subject2 inprogress on host1
subject3 inprogress on host2
subject4

so i tried a run and watched the batch file, now i observed something like this:

Code:

subject1 finished
subject2 inprogress on host1
subject3 inprogress on host2

[code]....

there was only one script running on host1. the subjects never got marked as finished, although i know for a fact that they were finished. also, the script sometimes seemed to hang for moments.

View 4 Replies View Related

Ubuntu :: Accessing File System In Terminal?

Nov 7, 2010

i just installed ubuntu on my old dell inspiron 4000 laptop. I have a problem with my screen though thats making ubuntu split in half makign it nearly impossible to use.. i found the possible solution at [URL] but im havin g trouble accessing File System where the document i need is located The solution states to open etc/X11 then to do some other line and change something in a text but i have no idea how to access File System using terminal?

View 5 Replies View Related

Ubuntu :: Accessing EXT4 File System Through Windows

Jul 31, 2010

Windows 7 by default cannot read/mount Ext4 type file systems. I installed Ext2fsd which allows me to mount my linux drive and navigate all the subfolders of my root (/) directory, however when I click on a folder from there (I.E, /home) this is what comes up: [URL].

View 4 Replies View Related

Ubuntu :: Accessing File System From Windows Vista?

Nov 7, 2010

I have Ubuntu 10.10 and Windows Vista on my laptop. I would like to be able to access the File System in Windows because I need to use iTunes to sync my iPod, while I actually get most of my Music in Ubuntu.

View 8 Replies View Related

General :: Accessing .dd File Extension

Mar 2, 2010

I am trying to access a .dd file extension. Do I have to mount it?

VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
# fdisk -ul VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
Blocks Id System
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd1 8192 1535999 763904 5 Extended
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd4 * 32 8191 4080 4 FAT16 <32M
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd5 8224 106495 49136 6 FAT16

[Code].....

I am trying to grab some files off this file to create a PXE vmware boot.

View 2 Replies View Related

Ubuntu :: Accessing File System On Internal Hard Drive In 11.04

Jul 14, 2011

when I load into Ubuntu 11.04 from my USB drive, why can't I access the files on my internal hard drive? I mount the drive but I cannot see any of the music, videos or documents contained on that drive (which is also an Ubuntu 11.04 drive). I was wondering so I could copy those files onto my external hard drive and reinstall since my Ubuntu crashed.

View 3 Replies View Related

Server :: Accessing Other Linux File Systems?

Jun 19, 2010

I have 3 linux systems configured for running applications in each, named system1, system2 and system3. I have around 100 GB of space in system3 under /usr but not much being used. In System1 very less space is there but mostly hits coming here and need to have proper backup, as the system1 is quite old and not planned partitons properly. So I want to use a disk having more space for backup requirements.

View 17 Replies View Related

Server :: Accessing Database In FBD Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system. Unfortunately, we parted company with the old vendor under extremely hostile conditions, and they are not a source of help for this problem, nor are the new vendors.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd. I can get into this database with MySQL. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can an expert suggest one or two things to get me started.

View 3 Replies View Related

Programming :: Accessing File And Manipulating With With Folders?

Mar 12, 2010

I have a .csv file with a list of Drugs Name that i need to remove from the folder. The folder consist of files that stored as drugname.mol format.

What i need to do is to sieve out those mol files from the folder?

How do i

(1) access the drugs names from the .csv file line by line (variable x)

(2) how do i access the files in the folder one by one (variable y)

(3) how can i do a comparison whether $x.mol == $y

(4) and shift them to another folder if $x.mol == $y

View 11 Replies View Related

Fedora Servers :: Accessing Index File By Hostname?

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

General :: Accessing Network Files Using File Protocol

Nov 11, 2010

I'm running Red Hat Linux 4.5 in VMWare Server (virtual machine) on Windows XP (host machine). I'm using a loopback adapter to assign an IP address of 192.168.1.100 to the VM.How would I set up file protocol to access the VM's filesystem? Is it possible?

View 1 Replies View Related

Programming :: CSH Permission Denied When Accessing Local File

Mar 9, 2011

I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script

Code:
#!/bin/csh
echo Enter a file name
$< = FILE ##Name of file
echo enter a size (in kilobytes) to monitor
SIZETOMON = $< ##Size value that's input by user
du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor
while (1)
if $SIZE > $SIZETOMON then
echo ALERT: File size is greater than $SIZETOMON
end

And here's the output
Code:
/home/lucer/foo.txt: Permission denied.
Badly placed ()'s.

I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.

View 14 Replies View Related

Fedora :: Stale File Handle - Accessing WLAN0 Interface?

Mar 22, 2010

I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.

View 2 Replies View Related

Networking :: Accessing Home File/print Server Through The Internet?

Mar 30, 2011

I just received a 2 tb drive for my server to be. The pc is a P4 3.06 ghz with 4 gb of ram. I have found a number of posts on this forum, as well as on the net in general, about setting up a file/print server at home. What I want to be able to do is to access my server through the internet from my office computer (windows 2000) How can I do that? I have not yet spent much time trying to decide which distro I will use. It seems that a number of them are suitable for this purpose, so I just plan to try several from a live cd and then choose one.

View 1 Replies View Related

Software :: Setup Apache To Normally Block An IP From Accessing A Site Until That IP Is In A Database/file?

Nov 16, 2010

Is it possible to setup apache to normally block an IP from accessing a site until that IP is in a database/file?More or less, I need a login system that another script can add/remove the IPs and the site can be accessed by only those IPs.

View 1 Replies View Related

Ubuntu Installation :: Virtualbox Not Accessing Drives?

Aug 30, 2010

I am running Virtualbox with Win XP on Ubuntu 10.04, Everything is mostly ok, but I find two problems. I cannot seem to find a way to access my second (physical) harddrive as well as DVD writer. I have tried to add it to shared folders in Virtual box, but no go. I can , however, access my USB drives ok, after I found out about the Vbox user permissions. But what I do notice is that it seems Ubuntu unmounts the USB drive as soon as Vbox "mounts" it. Is there no way to have these drives mounted simultaneously on both platforms ?

View 4 Replies View Related

Ubuntu Installation :: Accessing Hard Drive On PC On USB

Dec 2, 2010

I have Ubuntu 10.10 on my USB stick, and it boots fine. I want to be able to use the PC's hard drive, though, for storage of my files. My PC has WinXP on it and I dont want to lose it either. Is there any way by which I can mount the hard drive whenever I boot using the USB stick so that I can use it for storage?

View 2 Replies View Related

Ubuntu Installation :: Accessing Liveusb Reserved Space?

May 10, 2010

I am using ubuntu 9.10...now I have created an USB startup disk in my 1gb pen drive with a persistence region of 200MB. But after I have booted into the live ubuntu version using the pen drive how will I access the reserved space?.. I have tried mounting the pen drive but still couldn't access the reserved space.

NB:-I have only one FAT32 partition in my pen drive...

View 3 Replies View Related







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