Ubuntu Servers :: PHP Relative Links Not Working?

Dec 26, 2010

I just set up LAMP with PHP. PHP is working fine. I set up a folder with the files. Then I modified the config file to this:

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/stefano/public_html/
<Directory /home/stefano/public_html/>
Options FollowSymLinks

[code]..

View 3 Replies


ADVERTISEMENT

Ubuntu Servers :: RcN.d Links Disappearing?

Jun 22, 2010

We run Ubuntu 10.04 Server for our solutions, but I'm having a bizarre problem with init.d boot scripts. I have a script for the Sangoma wanpipe drivers that I modified to add the LSB information so that "update rc.d wanrouter defaults" runs correctly. The symbolic links from rcN.d to init.However, when I reboot the system, all the rcN.d links have disappeared and wanrouter isn't automatically started!I've never seen this kind of behaviour from a Unix based system in 20+ years, so I'm baffled as to how to fix the problem.

View 1 Replies View Related

Ubuntu :: Symbolic Links Between Two Different Servers On The Same Lan?

Mar 16, 2011

I know how to make symbolic links on the same or between two different partitions. But is it possible to make symbolic links between two different servers, that are on the same lan?

View 9 Replies View Related

Ubuntu :: Links Not Working In Evolution

May 26, 2010

Clicking on a link in an email does not work.Is there a setting I'm missing?TBird seems to work fine.

View 3 Replies View Related

Ubuntu :: 3rd Party Links Not Working?

Aug 7, 2010

Links from third party applications do not work any more. When I go to click on links from PDF,s or from Pino or KeePass nothing happens. I've tested different browsers Opera, Chrome, Midori etc same thing links just don't work from third party apps.

[URL]

View 3 Replies View Related

Ubuntu Servers :: Rewrite All Links Within Given Webpage

Feb 8, 2011

I am trying to setup a virtual machine server as a web development environment. Install and setup is going correct. To avoid any accidents I have the apache alias set to www.example.dev instead of www.example.com. The URL will redirect no problem but I need to find a way to have every instance of a link (example.com) show up as (example.dev) so that whole site will function on the server without linking to the live external site. I'm using git as a version control system that will push certain commits to my live site and thus want to avoid changing any configuration files to get this desired effect on my virtual machine. How to do this server side, maybe via PHP, apache2.

View 4 Replies View Related

Ubuntu :: Links Browser Script - Automatically Fills In The Credentials On The Links Login Page?

Dec 6, 2010

At my Uni, we use a web-based login for our internet connections. Its based off of Cisco, and every Wednesday night every computer on campus must re-enter their credentials to use the network.

Normally on my several computers I simply pull up the Terminal, point links to google.com using

Code:

And enter my credentials when Cisco redirects to the login page.

Literally, the process is

Code:

Then ENTER to accept the redirect, down arrow to skip over the logo image, USERNAME, ENTER, PASSWORD, ENTER, ENTER.

Naturally, this is EXTREMELY time consuming, as I have about 5 computers located around campus and must physically walk to the machines and login every single week.

My question is, How would I formulate a program that does the following;

1) checks for connectivity (i.e. is able to reach/resolve to the greater part of the internet) and

2) automatically fills in the credentials on the links login page?

View 2 Replies View Related

Ubuntu :: Symbolic Links Not Working In Samba From Windows And Mac?

Apr 6, 2010

If you have some directories shared that contain symbolic links that are NOT being resolved by the client machine, try adding these lines to your /etc/samba/smb.conf file:

Code:
[global]
follow symlinks = yes
wide symlinks = yes
unix extensions = no

View 5 Replies View Related

Fedora :: Links In Evolution Not Working

May 26, 2011

Fedora 15, when I click on a link in Evolution email, Firefox opens OK, but does not go to the link but to the home page.Any work-arounds please or is this a bug?

View 8 Replies View Related

OpenSUSE :: Thunderbird Links Is Not Working

Mar 10, 2010

All of a sudden, when I click on a link in Thunderbird, nothing happens, where it used to open a tab in Firefox. Left clicking and selecting "open in browser" also doesn't work.I checked in Firefox to make sure I had it set as my default browser, but when I click on an html file it opens in Konquerer. Is there another setting I should change?

View 1 Replies View Related

General :: Links Command Not Working

Nov 23, 2010

I read and saw a video that says that typing in 'links' command followed by a website, will open a site in terminal.

However, when I type in the links command, terminal returns the error 'bash: links: command not found'.

What package or library needs to be installed to get this command to work.

View 2 Replies View Related

Ubuntu Servers :: Dynamic Routing For Redundant Internet Links?

Jan 14, 2010

As far as I can tell, the server guides only explain a bit about what dynamic routing is, but not how to implement it.

My situation is this:

We require a server with 3 interfaces. One local, one to a vsat link and the other to a fibre link. The fibre will be the default route for Internet traffic but we want dynamic routing to automatically switch to the vsat link when the fibre link goes down (which happens fairly often in Zimbabwe!) and then switch back to the fibre link when it comes back up again.

The first option would be to handle dynamic routing on a Cisco router, but at the prices of Cisco devices here, it's not the most affordable option.

View 3 Replies View Related

Ubuntu Servers :: Vsftpd: Symbolic Links Or Mount Bind?

May 21, 2010

I'm setting up an ftp server with lucid server. A lot of the folders that should be accessible via the ftp are in different directories (and can't be moved without a LOT of hazzle) and I have to either symlink or mount bind them to the ftp chroot dir. Now I'm wondering which one is the saver variant? My guess is mount bind, but I'm not that familiar with the internal workings of linux and vsftpd (plus for symlinks I wouldn't have to change/create any scripts, just create them once...),

View 1 Replies View Related

Ubuntu Servers :: Do Symbolic Links Force Drive Mounting?

May 30, 2010

I have a 8.04 LTS server that i have installed a new 1TB drive. The server is running great but I am bit confused regarding the ln -s command and drive mounting. I have backuppc installed on the server and I am running out of storage space. To reolve this I moved the cpool and pool directories to the 1 TB drive and type from within the /var/lib/backuppc directory ln -s cpool /store/1TB/cpool this created the symbolic link to the new drive and everything works fine. I then rebooted the server and everything is runing fine but the drive does not show up in the df -h command, however the directories appear to be mounted fine.

I thought the drive would not be mounted automatically until it was defined in the fstab. Does the ln -s command force the system to automatically mount the directories but not the volume? This behaviour has caused me to delete my backup data becuase I was sure the disk was not mounted but is was!

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Connecting To Server Through Internet Links To Router

Feb 20, 2011

I have an Actiontec GT724WGR and I am having problems with my Ubuntu server. I set up a subdomain on freedns.afraid.org with my main computer's external ip. However whenever I use the link that was made it goes to my router configuration page instead of onto my server. I have already set up a static ip for my server enabled DMZ hosting and under port forwarding applied every single rule that applied to servers.

View 2 Replies View Related

Ubuntu :: Places Menu Links Stopped Working Correctly?

Mar 7, 2011

When I click "Places" in the top gnome panel of Maverick, then click any link such as "Home" or "Desktop" (or any bookmark) Movie Player opens (instead of Nautilus)! This started today. I have rebooted twice, but that didn't help (no surprise--this isn't Windows).

Code:

$ cat /usr/share/applications/defaults.list
[Default Applications]
application/csv=openoffice.org-calc.desktop
application/excel=openoffice.org-calc.desktop

[code]....

View 2 Replies View Related

Ubuntu :: Hplip And Hptools Not Working, Broken Links Reinstall?

Aug 10, 2011

I could not get my HP printer to work. So in a not so brilliant move, I have uninstalled hplip and hptool and reinstalled it.Even tough the command line message is telling that it is installed, the HPtoolbox would not run (both from the command line or the menu).Did some digging and found that all the HP related files in /usr/bin were all labelled <broken link>.So, I deleted all these.Before I tried to reinstall again, should I worry about all the leftover hplip files?

View 1 Replies View Related

Slackware :: Thunderbird Links No Longer Working

Dec 24, 2010

So, approx 2 weeks ago, clicking on links in Thunderbird stopped working. There is no response in the browser whether it is open or not. I am able to paste the links to the browser just fine. Being congenitally lazy, I would rather just click them. I have upgraded to the latest version of Thunderbird and have the same issue. I have tried using Swiftfox, Firefox and Opera - all give the same non-response.

Am not getting any error messages, the links just do not open. Can't find any settings relevant to this issue.Any bright ideas out there?

View 8 Replies View Related

OpenSUSE :: Evolution Mail In KDE 4.3.3 - Email-links Not Working?

Nov 19, 2009

I have switched from Gnome 11.1 to KDE 11.2 but am still using Evolution Mail as I could not figure out a straightforward way to move my large email base to KDE PIM. When I click on a link in emails, I get the message "failed to execute child process epiphany".I am using Opensuse 11.2 64-bit, KDE 4.3.3 Evolution Gnome

View 6 Replies View Related

OpenSUSE :: 11.2 - Thunderbird Version 3 Update Links Not Working

Feb 7, 2010

When the update on Open Suse 11.2 is going to happen for Thunderbird version 3. The current version (links don't work to open on default browser.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5)
Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0

View 2 Replies View Related

Programming :: Scripting : Change Markdown Links To Wikitext Links?

Feb 3, 2009

I have a personal wiki of notes, with now thousands of links in markdown format:

[link text](http://example.com)

but now that fckeditor is available for mediawiki (very beta), it has become much better to just stick with wikitext format. There are only a few conversions to do: tables, links, and bulleted lists. The lists are a fairly simple regex and fckeditor magically reformats the tables, so all I'm left with is the links. But I'm not a regex master. How do I reformat code...

View 12 Replies View Related

Ubuntu Servers :: Make Apache Show Symbolic Links In A Directory Listing?

Jul 17, 2011

I am trying to make my Apache server show symbolic links in a directory listing, but have so far been unsuccessful. In my latest attempt, I have placed the following code in .htaccess, in the directory with the symlinks that I want listing:

Code:
<Directory />
Options All
</Directory>
Im httpd-vhosts.conf, I have also placed the following code within the relative <VirtualHost></VirtualHost>:

View 5 Replies View Related

Fedora Servers :: Apache - Creating Symbolic Links To Movies Directory

Mar 6, 2009

I'm using FC10 and I want to create a symlink to my movies directory in my home folder:

This is what I did:
I created in
/var/www/html
ln -s /home/username/movies movies

Then in /etc/httpd/conf/httpd.conf
DocumentRoot "/var/www/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>

<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Directory "/home/username/movies">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>

Restart apache and then the test page is working.

The directory /home/username/movies has following permissions:
drwxrwxrwx 2 apache apache 4096 2009-03-05 23:43 movies
When trying to access my webpage at localhost/movies I get the 403 Forbidden Error.
Ok then, entering:
sudo -u apache ls /var/www/html
> movies
This works, sudo -u /var/www/html/movies returns the permission denied error.
As well sudo -u /home/username/movies
Is the user apache chrooted by default? SELinux is in permissive mode. What can I do?

View 4 Replies View Related

Ubuntu :: Run Script As If Its Non-relative Directory?

Jan 12, 2010

I'm trying to run a python app from the main menu, but I currently need to proxy it through a bash script so as to set the cd correctly, is there any way to fix this?

View 3 Replies View Related

Ubuntu :: Running Maverick With Relative Stability?

Aug 27, 2010

I've heard that some people have been running maverick with relative stability, however I remember experimenting with lucid in about the same stage in development and it was a disaster. Is there anybody here running maverick for day-to-day use?

View 3 Replies View Related

Ubuntu :: Relative Hyperlink Does Not Work Not Even Using GEDIT

Feb 11, 2011

I want to link txt files into an OpenOffice document, or a PDF or an HTML. Whatever I try it doesn't work. ODF output puts the complete path even if I have indicated Relative Path (Options-Tools...) etc. PDF does also not work I also set again PDF output to Relative and Reader application. HTML output does not work not even if I manually change the link in GEDIT, save and open: Gedit also saves it with the complete path.

View 1 Replies View Related

Ubuntu :: OpenOffice Doesn't Allow Formula Numbering Relative To A Chapter?

Nov 3, 2010

I could not number formula in Open Office writer relative to a chapter. I would like to numbering like 1.1, 1.2, 1.2. 2.1 etc. Is it possible. I searched in Helps, but doesn't found anything!

View 1 Replies View Related

Ubuntu Multimedia :: Image Software W/ Automatic Relative Positioning?

Sep 1, 2011

Is there (either raster or vector) FOSS editor where when moving a layer in the image editor, the program checks to see if might want to line up the objects either horizontally or vertically with a repeated spacing?Editors I would especially like to know how to do this in are GIMP, Inkscape, or mypaint.

View 3 Replies View Related

Ubuntu Servers :: Rsync - How Not To Log "Links"

Apr 1, 2010

I'm running rsync and outputting the log to a file using --log-file option. I am also using the --link-dest option, which in turn is adding the hard link creation output for EVERY file in the log file. I want to ONLY show the actual file transfer (if any) that take place.In the 'log format' section of rsyncd man page here I assume you can do this, I just can't make sence about the code.

View 3 Replies View Related

General :: Make Rsync To Use Relative Path?

Sep 6, 2011

I want to sync remote database copy using command

As it's result command creates file /backup/snapshots/backup/databases/mysql.sql. How can I force it to put file in /backup/snapshots/mysql.sql? It's mandatory that source must be remote (it's part of more complex script).

View 1 Replies View Related







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