1,520 Topics
| |
Hello, I have created a webpage where I use a simple command line tool [oggz-tool] to cut a section of the video. It works fine but the only problem is that when the new file is created, it is owned by www-data and not by the user I created which … | |
Hello all, I have created Servelets which are used by midlets and having Database in MySQL. I have deployed servelets in Apache Folder. but now question is how to setup Database? Thanking You, Hakoo S Desai. | |
Hi, I have the following .htaccess file in the directory <domain>/ss/c/ [CODE] RewriteEngine On Options +FollowSymLinks RewriteBase /ss/c/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /ss/c/index.php [L] RewriteCond %{HTTP_HOST} !^www\.sexspinner\.com [NC] RewriteRule ^(.*)$ http://www.sexspinner.com/ss/c/$1 [R=301,L] [/CODE] and a index.php file with the following PHP [CODE] <?PHP $cat = $_SERVER['REQUEST_URI']; … | |
Im having some trouble with google sitemaps. Everytime I submit my sitemap to google it takes a good hour to tell me that it couldnt download it. I have a redirect on my main domain, pointing all users to a subfolder within the site, so Im guessing its also redirecting … | |
Hi All, Apologies should read SSI mod_include I now understand I need to install the include module for Apache 2.2 in order to process my included pages like: [CODE] <!--#include virtual="something.html" --> [/CODE] However, I do not know if there are additional apache files that need to be downloaded, where … | |
I am on a godaddy server now and trying this mod-rewrite stuff and it is still not working. I have been searching google now for hours looking for the answer and cannot find it. Here is my entire .htaccess file: #Rewrite Rules Options -MultiViews Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase … | |
hi, i am currently going to be setting up a linux dedicated box and have a few questions if somenone could give me some input into it. not too in depth so lamens terms would be best. 1. can someone recommend a good hosting company for a dedicated box? 2. … | |
I try to receive XML sample from w3schools.com ([url]http://www.w3schools.com/XML/cd_catalog.xml[/url]) but get nothing (xmlhttp.status=0). My local web server is Apache on VMWare (host OS Win7, Guest OS Ubuntu, Network adapter - NAT). Here is the code: [CODE]xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","http://www.w3schools.com/XML/cd_catalog.xml", true); xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState==4) alert("status " + xmlhttp.status); } xmlhttp.send(); [/CODE] It … | |
hey, it has been a couple of months since i have been here, and let's get strait to the point. someone told me you can change the page title of a dynamic link with the .htaccess file. for example i have a page. [url]http://www.mywebsite.com/page.php?id=1[/url] i include this page for different … | |
Hello Friends... I am new to jsp and i need to edit a .doc file present in a server using jsp! i tried googling and i got to know about "apache poi". this is working great for opening a doc file and also for writing a doc file but my … | |
Hello, i have a question about mod_rewrite. I have the following url: [url]www.example.com/listen.php?title=U2_with_or_without_you&youtube_video_id=hTgnDLWeeaM[/url] Now, i want to rewrite it like this: www.example.com/U2_with_or_without_you->hTgnDLWeeaM Now, my question is, since i can't use the caracters - or _ as separators between the get parameters, it is "safe" to use -> ? Is it … | |
I am on a godaddy server now and trying this mod-rewrite stuff and it is still not working. I have been searching google now for hours looking for the answer and cannot find it. Here is my entire .htaccess file: #Rewrite Rules Options -MultiViews Options +FollowSymLinks +Indexes RewriteEngine on RewriteBase … | |
Hi guys, I developed a website and want to access it through the Internet by using my registered own domain. Website will be served by my Ubuntu machine at home. I have a router called Thompson Speedtouch. I simply want to host my own website at home. Domain: www . … | |
Hello, I just installed XAMPP to a Windows 7 computer and I am trying to learn some PHP. I go to C:/xampp/htdocs and create a file named [B]phptest.php[/B]. And I write inside this code : [CODE]<HTML> <HEAD> <TITLE>PHP Testing</TITLE> </HEAD> <BODY> <?php echo “If this works, we <i>really</i> did it!”; … | |
Hi I need some help in connecting to the mysql server. Here is the full situation : server H -- i have access to this server -- but this server does not have apache it is basically like a dropbox, i just throw the phpmyadmin config file in here and … | |
Xampp is telling me that apache and php are up and running properly, but viewing html pages with <?php ?> tags in the apache doc root folder is not doing anything with the php code, i can see the php code when viewing source via firefox. I've experimented with every … | |
I want to configure apache with JBoss.., I download Apache 2.X version it starts properly.,And I configure mod_jk and all steps.but,localhost is not working.., | |
I just read an article called: [URL="http://www.infoworld.com/d/windows/life-after-windows-what-happens-tech-if-microsoft-dies-551?source=footer"]Life after Windows: What happens to tech if Microsoft dies?[/URL]" The article made me think of what it really would be like without Microsoft. I didn't like it. We need Microsoft over there competing with us. No matter what happens to the economy, to … | |
I am trying to serve up some PHP files as extension-less or as custom extensions (e.g. test.myfile1). This is my current .htaccess: [CODE]#AddHandler application/x-httpd-php .$ RewriteRule ^([^\.]+)$ $1 [T=application/x-httpd-php-source] [/CODE] Previously it was: [CODE] AddHandler application/x-httpd-php .$ [/CODE] Which is better, and how should I go about this? Thanks | |
Hello. I've set up pagination for my results. I do this with a class. I also have pretty urls with mod_rewrite. I'm wondering how to echo the urls for the paginated data. Currently I have this below for the links. [CODE]$links .= ' ' . $prefix . '<a href="' . … | |
Hi, I'm a total newb. I'm wanting to test out a PHP program so I installed apache on my Win7 machine along with PHP. I actually used the wamp install that installs the above along with MySql and some other goodies. Anyway, it all seemed to install fine but when … | |
What I want to do is to take the previous day's logfile, strip out the search phrases and insert these into a mysql db. Currently using Deep Log Analyser to manually lift the search terms, but I's appreciate some pointers as to how the parsing could be done by a … | |
| When I try to start the server this is the output I get: [code] (OS 10049)The requested address is not valid in its context. : make_sock: could not bind to address 179.215.214.132:8080 no listening sockets available, shutting down [/code] |
I am not able to open the ex.php page I created in my local host. I recently installed Apache 2.2 and PHP. I configured httpd, virtualhost etc as mentioned in many tutorials. ([URL="http://webdevcodex.com/screencast-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista/"]http://webdevcodex.com/screencast-installing-apache2-php5-mysql5-phpmyadmin3-windows-7-vista/[/URL]) Whenever I tyoe [url]http://localhost[/url], the browser tends to download the indox.php file. the file is nothing but … | |
Hi All, Im having trouble getting a crob job to run. What i have so far is /home/backup.sql.gz mysqldump -h 82.108.157.106 -u root -ppassword database name | gzip > /home/echou/backup.sql.gz any assistance would be appreciated | |
Hi , I have been told to configure two tomcat instances with one apache server. I am new to tomcat and apache process and even dont know basics of Java. I tried my best but couldn't get result. Can anyone please let me know the versions of apache,tomcat and java … | |
Hi, I am having problem with creating thumbnail this is my code [CODE]$ffmpeg=$_SERVER['DOCUMENT_ROOT'].'/***/ffmpeg'; $image=$_SERVER['DOCUMENT_ROOT'].'/***/***/***/'."$id.jpg"; $video =$_SERVER['DOCUMENT_ROOT'].'/***/***/'."$uname"; $cmds = "$ffmpeg -i $video -deinterlace -an -ss 1 -t 00:00:01 -r 1 -y -s 100x90 -vcodec mjpeg -f mjpeg $image 2>&1"; exec($cmds);[/CODE] Whenever i try to make thumbnail it gives me an error … | |
Hello, I did a little rewrite rule a little while ago to redirect ppl who directly access my site's image to image pages instead, for example a person accessing [url]www.mysite.com/i/asdf.jpg[/url] to [url]www.mysite.com/pic/asdf[/url] this is the rewrite rule i used : [CODE]location /i/image_(\d+).(gif|jpg|jpeg|png)$ { root /home/mysite/public_html; valid_referers www.mysite.com mysite.com; if ($invalid_referer) … | |
hello i want to copy my home directory to sync with another server's home directory.is there any way in which we have not to store key file or use password.I know rsync is an option but i want to know if there is any better option. | |
Hello - I have a client that is using a VPS from Host Gator. He he also running an application I created on his VPS. The other day he complained his server was very slow when using my software. I checked it myself and it took approximately 5 seconds to … |
The End.