990 Topics
| |
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 … | |
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 … | |
Hi guys, I want to access my virtual domain from another computer on same network by typing [url]www.site1.com[/url] or site1.com without using IP at the beginning of URL. Currently it works this way: [U]Server computer where Apache is running:[/U] [url]www.site1.com[/url] AND site1.com works fine as I want. [U]Another desktop computer … | |
I have a red hat system that I currently have to websites hosted on. I’m trying to set up a third domainname but every time I touch the files (httpd.conf, hosts, ddclient.conf, VirtualHosts,etc) it resolves to the primary domain name. The third domain keeps pulling up my first domain instead … | |
hi...I am running rhel5.4. I have enable UserDir in apache and get the forbidden error while trying to access [url]http://localhost/~lanor[/url] I have set set permission for user Lanor 711 for home dir "lanor" and 755 for "public_html" Is it that I have to set the above permission for the user … | |
Hello, I have installed apache server on Ubuntu 9.1 desktop. When I access http://localhost:8888 or http://192.168.1.60:8888, I get message : "It works". Now, I am able to run the apache on the port 8888 using the windows 7 without any problem and I accessed it from outside internet and that … | |
SO I am trying to setup a RewriteRule on my server for caching static objects. the files are in this naming scheme /docroot/css/stylesheet.min.css and I have them printed in the code like /docroot/css/stylesheet.min.123438348.css (the number is example it comes from a get modified function). Note docroot is an example directory … | |
hi, i have a problem accessing my php files in my browser, i am using apache as my webserver. it used to work properly until i messed up things. now i don;t know what to do. everytime i open my php files which are on /var/www/htm/ it gives me the … | |
Apache 403 Forbidden Error and this one ugly.. My server is Unmanaged - So I tried hared to fix this but I can't.. Please help me.. If I create any directory [url]http://www.myurl.com/anything[/url] =I got Forbidden error. If I Put any .php file [url]http://www.myurl.com/anything.php[/url] =I got Forbidden ERROR. If I Put … | |
Hi, Steps below works fine if I have only one folder(site) in /var/www/http/ but when I add another (folder)site into /var/www/http/ and repeat same steps just by changing the name of the (folder)site, it retrieves the previous site even if I enter the second one. e.g. myhost1.com and myhost2.com display … | |
Hi everybody, I'm trying to set up a File Server running on Linux but I encountered some strange difficults... The hard disk I want to share is a 320GB I formatted before to install the Operating System (Ubuntu Server 10.10) and I formatted as NTFS because I want to read … | |
So I just got a new centOS box with PHP 5.1.something but I wanted it on PHP 5.2, initialy running [ICODE]yum update php[/ICODE] returned [CODE]php-pecl-memcache-2.2.6-1.el5.x86_64 from installed has depsolving problems --> Missing Dependency: php-zend-abi = 20050922 is needed by package php-pecl-memcache-2.2.6-1.el5.x86_64 (installed) Error: Missing Dependency: php-zend-abi = 20050922 is needed … | |
I need to create an apache web server that can run Zend Optimizer 2.1.0 or higher. I have looked into a number of wamp products such as wampserver and xampp but as far as I can see neither of these are suitable for live sites. I did look at uniform … | |
hello all i have a jsp project when i run this project using netbeans it gives the following exception in browser as follows org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 28 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory … | |
can anybody help me with a mod_rewrite rule real quick? RewriteRule ^(.*) index.php?category=$1 [L] its working but my file data.php which is being loaded into index.php via jquery get isnt outputting anything and I think its being routed to index.php?category=data.php which is wrong obviously. so how can I redirect things … | |
I am absolutely no experience in Apache -- well, no first hand experience, that is. Where do I start, where do I download? What do I download? I have been trying to get serious about developing my web site. I have Windows XP Home Edition OS and I have not … | |
Can it hold a vbulletin forum? Or should I buy a windows? Thanks. | |
[COLOR="Red"][B]I am try to compare the best appliance and Server Firewall: for example Cisco ASA and Linux iptables based Firewall, which performs better under which conditions?[/B][/COLOR] | |
I have Ubuntu 9.10 running on Oracle Virtual Box in my Windows Vista computer. I have XAMPP running on both. The host is currently set to 192.168.10.4 and the Virtual machine at 192.168.10.3. I tried running the same code independently on both computers and it runs fine on Windows. In … | |
Hi everyone, I have designed my website from 6000 static HTML pages to a more structured system. However I am not carrying over same structure so I will need to setup a bunch of 301 permanent redirects in order to keep my search rankings. (have spent a lot of money … | |
Hi all, I have a running cron job as below: [CODE] */10 * * * * java -classpath "/shared/smsfiles/camps/jean.jar" emailrpts "71.25.24.45" "sile@lango.com" "password" >>/dev/null [/CODE] I would like to change the parameters "71.25.24.45" "sile@lango.com" "password" to "51.25.24.40" "jimbo@jalango.com" "passwordtwo". Whenever I change on the crontab and save, the application running … | |
I have a monitor that has two inputs, my windows box is in one and my server(running ubuntu server) is in the other. Currently to control the server I have to use a seperate keyboard that is plugged into it. Is there a program that, when I switch the input … | |
Hi all, Im investigating something in my job where on 1 paticular date the timestamp function on php on a centos box is 4 days out of date. All others either side of it are correct. What im hoping to find out is where I could find a log on … | |
So I guess you guys are getting pretty fed up of answering questions about mod_rewrite, but here's another one to add to the pile. So I'm working on a new version of a site that's currently running (Lets call it mysite.com). Any visitor to [url]http://mysite.com/[/url] will be visibly redirected to … |
The End.