3,436 Topics

Member Avatar for
Member Avatar for klemme

I need to create a video gallery for a website, and would like to create it using the html5 video tag backed up by videojs. As I havent worked with video uploads before I have some doubts on how to approach it: What file size would you recommend as a …

Member Avatar for klemme
0
500
Member Avatar for vizz

I have hosting and domain with https://www.znetlive.in (with Apache version 2.2.21) suppose www.abc.com I want to rewrite urls.(Which is not working in anyways) http://www.abc.com/index.php for this http://www.abc.com http://www.abc.com/about.php for this http://www.abc.com/about http://www.abc.com/portfolio.php for this http://www.abc.com/portfolio http://www.abc.com/contact.php for this http://www.abc.com/contact I have tried all possible ways but it is not working. …

Member Avatar for vizz
0
440
Member Avatar for laddu

How to find the number of incoming requests to a apache server and also the maximum number of requests that it can serve? Is it possible to extract this info to use it in a program??

Member Avatar for cereal
0
734
Member Avatar for hemalatha.nambisan

I had installed Apache web server latest in my laptop and after updatation of the conf fil it was working now. Initially after installtion when I said stop and restart the engine it was working. When I tested with my .pl and html also it was working. But when I …

Member Avatar for sbesch
0
120
Member Avatar for dwlamb

I am trying to set-up some virtual hosts on a fresh install of Ubuntu 12.04 and not getting expected results. I am using [this tutorial](http://blog.code4hire.com/2011/03/setting-up-virtual-hosts-for-apache-on-ubuntu-for-local-development/) which I have used before without fail. The challenge seems to come with restarting apache. $> sudo service apache2 restart * Restarting web server apache2 …

Member Avatar for dwlamb
0
334
Member Avatar for hemalatha.nambisan

# # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.0/> for detailed information about # the directives. # # Do NOT simply …

Member Avatar for hemalatha.nambisan
0
371
Member Avatar for samdanield

<project basedir="/home/ubuntu/apache-jmeter-2.7"> <property environment="env"/> <property name="jmeter-home" location="/home/ubuntu/apache-jmeter-2.7"/> <path id="ant.jmeter.classpath"> <pathelement location="${jmeter-home}/lib/ant-jmeter-1.8.4.jar" /> </path> <taskdef name="jmeter" classname="org.programmerplanet.ant.taskdefs.jmeter.JMeterTask" classpathref="ant.jmeter.classpath" /> <target name="clean"> <delete dir="results"/> <delete file="jmeter.log"/> <mkdir dir="results/jtl"/> <mkdir dir="results/html"/> </target> <target name="test1" depends="clean" > <jmeter jmeterhome="/home/ubuntu/apache-jmeter-2.7" resultlogdir="results/jtl" testplan="/home/ubuntu/pt/********.jmx" /> <xslt in="${basedir}/results/jtl/********.jtl" out="${basedir}/results/html/*********.xml" style="${jmeter-home}/extras/jmeter-results-report_21.xsl"/> </target> </project> when i build this file its …

0
46
Member Avatar for Clanstrom

Hi all. I have a site with articles and members and since the url ends for both like.. site.com/articles.php?id=232 or site.com/ref.php?user=3232 I costumised this script I found online to costumize the url. I did for the profiles which is working, but I can't add for the articles: RewriteEngine On RewriteCond …

Member Avatar for mbhanley
0
151
Member Avatar for afroo.gfx

I Need Help With My **.htaccess** file .. Now i have link like that http://www.afrogfx.com/20121028050853/Test.html problem located with **Slash /** !! if you click on my link you will found link without style if remove slash you will get 404 Not Found Like That http://www.afrogfx.com/20121028050853Test.html Try it !! **Here Is …

Member Avatar for Squidge
0
281
Member Avatar for pavitrakannan

whenever i execute a mysql php code...it says local host not given access to this database..... i just ran other programs an hour back and it showed no problem! now i am not able to connect to tht particular database. i checked the xammp cntl panel....and resatrted mysql and apache …

Member Avatar for Smeagel13
0
258
Member Avatar for nagar.gaurav

Please let me know the detailed procedure to install Apache, MySQL, PHP and PHPmyAdmin on my system which is windows 7. or post a link where the complete installation is given. I do not need to work on XAMPP or WAMP or such kind of other softwares. you can also …

Member Avatar for diafol
0
623
Member Avatar for caven.chunyen_1

Hi Daniweb, I've have an assignment which is to modified the cpp script for ns2 simulation. I need to modify it so that the size is multiply by 2 over 10 interval and change back to the original size after 10 interval. I've changed the code in the modified field, …

Member Avatar for rubberman
0
218
Member Avatar for svilla

I have this PHP program: <?php echo 'Start of Soap Request<br />'; $client = new SoapClient("http://192.168.201.67:10010/web/services/getItemDesc?wsdl"); print_r($client); echo '<br />Start of Var_Dump<br />'; var_dump($client); echo '<br />Result Print<br />'; $result = $client->testws(array("PEITEM" => "1020000000", "PEMSG" =>" ")); print_r($result); ?> That access a web service on my iSeries. I can get …

Member Avatar for maba001
0
1K
Member Avatar for yoyo12345

Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 localhost Apache/2.4.2 (Win32) OpenSSL/1.0.1c PHP/5.4.4

Member Avatar for Squidge
0
315
Member Avatar for yoyo12345

# # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.2> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html> # for a discussion of each configuration directive. # # Do NOT simply read the …

Member Avatar for yoyo12345
0
248
Member Avatar for andyy121

<?php if (isset($_POST['generate'])) { $charset = 'absdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ0123456789%$#-()*&.,'; $generated_password = substr (str_shufle($charset),0, 12); } ?> <form action ="password generator" method="post"> <input type="submit" name="generator" value="Generate"><input type="text" value="<?php if (isset($generated_password)) {echo $generated_password; } ?>"/> </form> when i click in generate button it show me this: Object not found! The requested URL was not …

Member Avatar for yoyo12345
-1
166
Member Avatar for Stardemos

Hello. I new to web server and linux, but i'm trying to make one. I'ts done and workink, the only problem is that i can put apache reading the png and css files. it shows my app unformated and with broken links, when i try to open the images it …

Member Avatar for cereal
0
250
Member Avatar for mkapetanos

I'm trying to create a script which get an url and makes a thumbnail in .NET C#. I tried some scripts I found on the internet but I [used this one](http://stackoverflow.com/questions/2715385/convert-webpage-to-image-from-asp-net). However I saw that it uses lot of resources and sometimes becomes very slow. Next, I tried to find …

Member Avatar for pritaeas
0
151
Member Avatar for GhuleVishal

I have installed php mysql and apache but when I run my php program browser ask me to download that file. but required output is not appear.

Member Avatar for broj1
0
162
Member Avatar for McLaren

Hello, I am stuck with tryting to upgrade PEAR fri 1.7.2 to newest version. I want to install PHP unit and it does not like 1.7.2 version of pear. I managed to get till there: C:\Users\Darius>pear upgrade pear WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p ear.php.net" to …

Member Avatar for McLaren
0
314
Member Avatar for arabgogs

Hi there, I am trying to access a 3rd party Apache/Axis web service where I am required to submit an HTTP header with username and password attached. I have added the service/reference no problem using the VB.Net add service reference. this has given a local object for their service. I …

0
150
Member Avatar for snakesonaplane

One thing I have been struggling with is moving from developing in Python to utilize Python on the web. All my web is currently handled with php, mainly through easy to install scripts/cms's such as Drupal, Wordpress and Joomla. Why? Because it is easy and they do 95% of what …

Member Avatar for snakesonaplane
0
241
Member Avatar for azdine

Hi guys, I'm struggling with a basic stuff - A call to a javascript function within a XSLT transformation. Could you please help to find out what I'm doing wrong. Here is the XML input text <?xml version="1.0" encoding="UTF-8"?> <message channel-id="987b3452-5e34-4401-8106-ef81939f93e2"> <task-started task-type="task"> <agent-parameter multi-valued="false"><name>EPNIPRangeEndINT</name><value>168428543</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNIPRangeStartINT</name><value>168428288</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNRecordIPName</name><value>epn-2</value></agent-parameter><agent-parameter multi-valued="false"><name>IPPoolName</name><value>AzdinePool-1</value></agent-parameter><agent-parameter multi-valued="false"><name>NetworkType</name><value>AzdinePool-1</value></agent-parameter></task-started> </message> …

Member Avatar for Mike Askew
0
185
Member Avatar for mr-cracker

Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; …

Member Avatar for sftranna
0
880
Member Avatar for lewashby

I've set up a small php file called phpinfo.php the script is below. <!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml-transitional.dtd"> <html xmlns="http://www.w3.org/1999/ xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/tml; charset=utf-8" /> <title>First PHP Script</title> </head> <body> <?php phpinfo(); ?> </body> </html> I've already installed both php5 and apache2, …

Member Avatar for cereal
0
331
Member Avatar for Joe2

Just tried to access this link; http://blog.seorevolution.com/2012/09/28/things-you-should-know-right-now/ And got: “Forbidden You don't have permission to access /2012/09/28/things-you-should-know-right-now/ on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. ________________________________________ Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.5 Perl/v5.8.8 Server at blog.seorevolution.com …

Member Avatar for np complete
0
107
Member Avatar for yahya.erturan

My previous folder tree was (with portable xampp): (for example working on D: drive root) /xampp/htdocs/application /xampp/htdocs/system /xampp/htdocs/themes /xampp/htdocs/index.php etc.. Now I am trying to shift into a structure which I can work with multiple projects so new tree: /xampp/htdocs /web_projects/project-name/codeigniter/application /web_projects/project-name/codeigniter/system /web_projects/project-name/htdocs/themes /web_projects/project-name/htdocs/index.php My htaccess file in htdocs: RewriteCond …

Member Avatar for cereal
0
2K
Member Avatar for narekm

I am experiencing this problem for wordpress multi sites . I have enabled network of blogs . So now I create many blogs in my wp and visit subblog via myblog.com/sublog . But the problem is that resources in the subblog starting with myblog.com/sublog .. dont load like css images …

Member Avatar for LastMitch
0
138
Member Avatar for cereal

Hello. The problem is in [this post](http://www.daniweb.com/hardware-and-software/linux-and-unix/threads/434969/php-and-apache#post1868055). First block of code, line 5 and line 9. I see a difference between normal view and raw view (on double click). In normal view line 5 appears like: <Directory /> in raw: <Directory ></Directory> and the same happens on line 9. These …

Member Avatar for Dani
1
257
Member Avatar for anevins

Hello, I can't use CURL, $ch = curl_init(); I get the error > Fatal error: Call to undefined function curl_init() I've used `phpinfo()` and found the php.ini directory, > Loaded Configuration File D:\wamp\bin\apache\apache2.2.22\bin\php.ini I've then edited the php.ini file from that directory and removed the semi-colon in-front of extension=php_curl.dll Restarted …

Member Avatar for anevins
0
9K
Member Avatar for mionazraelmiranda

Hi! as you can read in the title. I want to know how to put the website I am making online. I'm pretty clueless and do not know what to do. I use `wampserver (WAMP5)`, apache version is `2.2.4 (Win32)` and MYSQL. What are the things I should need or …

Member Avatar for chrishea
0
160
Member Avatar for ZER09

i got a problem on my apache server it doesnt load automatically the index.html but in index.php it works fine i have this configuration on httpd.conf, i am running it on my local computer using windows 7 i tried this configuration <IfModule dir_module> DirectoryIndex index.html, index.php </IfModule> but i dont …

Member Avatar for lps
0
89
Member Avatar for riahc3

Hello Im using org.apache.commons.net's FTP object to make FTP transfers. The problem is that when the IP is down (example, the PC is turned off) a exception saying "No route to host" pops up and not only delays my program but gives a nasty error. How can I avoid this? …

Member Avatar for Taywin
0
263
Member Avatar for satheeshr07

Hi All, I am trying to rewrite the URL http://www.example.com.br/folder/sub_folder/my_profile.php to http://www.example.com.br/folder/my-profile. I have tried lot of rewrite method but i can’t redirect the URL. Please anyone help to solve this.

Member Avatar for diafol
0
115
Member Avatar for prnjn

Hi , I am not able to start "apache tomcat 7.0.22" I have double clicked on "startup.bat" file in the bin folder of the apache tomcat folder after that i typed http://localhost:8080/ in my web broswer but i get the following error " Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the …

Member Avatar for prnjn
0
261
Member Avatar for phpperl

**I have a string** $string =" HTTP/1.1 200 OK Connection: close Date: Tue, 25 Sep 2011 14:09:35 GMT Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Server: Apache-Coyote/1.1 Content-Length: 12881 Content-Type: text/xml;charset=utf-8 Client-Date: Tue, 25 Sep 2012 14:09:35 GMT Client-Peer: 123.46.53.940:8080 Client-Response-Num: 1 <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header/> <soap-env:Body> <PlexViewResponse Command="rtrv-ngfs-subscriber-v2" …

Member Avatar for cereal
0
123
Member Avatar for riahc3

I was going to start Apache/Tomcat as root but Ive rethought it and have gone against it. How can I make my web service read/write from "/"? I keep getting permission denied exceptions...

Member Avatar for riahc3
0
195
Member Avatar for vaibhav1983

Hi All, I have configured a spring JPA project but when I deploy and start the tomcat I get the exception nin stacktrace as shown below. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/database-config.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are: …

Member Avatar for vaibhav1983
0
382
Member Avatar for cisumma

Hello I am using Apache derby embedded database: I have been using a system to display records from the database described in "DisplayInstructorAvailableNowJTable.java". it allows the result set to create a model from a prepared statement. I have only uncovered the tip of the iceberg concerning JTABLE. I am not …

0
139
Member Avatar for riahc3

Hey Im looking for a easy and fast way to install Apache Tomcat and Axis 2 on a Ubuntu box. I followed a guide but it left my PC a mess (I couldnt get updates correctly) Thank you

Member Avatar for riahc3
0
347
Member Avatar for oksam

I have used following mod_rewrite rules: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %(REQUEST_FILENAME) !-l RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] to get **www.myweb.com/newyork** from **www.myweb.com/index.php?url=newyork.** Now I trying to get pretty url for this page www.myweb.com/itemdetail?itemid=1000 to www.myweb.com/itemdetail/1000 I have been trying several mod_rewrite rules, but I have not …

Member Avatar for pritaeas
0
155
Member Avatar for Raghu88

package com.zyom.struts.ats.action; import java.io.File; import java.text.NumberFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import jxl.Workbook; import jxl.write.Colour; import jxl.write.Label; import jxl.write.WritableCellFormat; import jxl.write.WritableFont; import jxl.write.WritableSheet; import jxl.write.WritableWorkbook; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.actions.DownloadAction; import org.apache.struts.actions.DownloadAction.ResourceStreamInfo; …

Member Avatar for Raghu88
0
268
Member Avatar for Angle90

Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like …

Member Avatar for Angle90
0
180
Member Avatar for vlowe

Hi, Please help me work out this mod-rewrite issue while trying to make my urls SEF. RewriteEngine On Options +FollowSymLinks # Browse Category RewriteRule ^category/[!/.]*([A-Za-z]+)/?$ /browse.php?cat=$1 [NC,L] # View Item RewriteRule ^view/([0-9]+)/([a-zA-Z0-9-]+)$ /view.php?item_id=$1&sef=$2 [NC] This is my current .htacess. The browse category rule is working ok converting - http://localhost/browse.php?cat=people into …

Member Avatar for vlowe
0
230
Member Avatar for svilla

I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously …

0
105
Member Avatar for davy_yg

Hello, I am trying to install apache xampp. Get this error? #1146 - Table 'phpmyadmin.pma_recent' doesn't exist Why is it? Thanks.

Member Avatar for davy_yg
0
94
Member Avatar for pzuurveen

i got a testing blog that got spammed. So I removed the entire blog. Now weeks later, my errorlog still get thousends of 404's a day. I still want to see 'normal' 404 from other sites on that server. There are no files in that dir but .htaccess: RewiteEngine on …

0
165
Member Avatar for coreyavis

I have a .htaccess file. I have two RewriteRule's that do the same thing. This one works perfectly, and can handle a huge query: RewriteRule ^p/(.*)(/?)$ index.php?p=$1 [QSA,L] This one will only handle a query up to 255 characters. RewriteRule ^(.*)(/?)$ index.php?p=$1 [QSA,L] How do I fix this, and make …

Member Avatar for coreyavis
0
766
Member Avatar for bops

Hi there. I use Virtual Hosts on Apache to host multiple sites on one web server and I was wondering if there is some kind of failsafe/default mechanism available. Basically, say for example I have one website set up as a Virtual Host like <Virtual Host *:80> ServerAdmin foo@bar.com ServerName …

Member Avatar for bops
0
147
Member Avatar for davy_yg

Hello, I am receiving this error while trying to save information in admin page: http://localhost/RustoleumCustomCMS/administrator/%3Cbr%20/%3E%3Cb%3ENotice%3C/Masterlink/cgoods/PHP_SELF%20in%20%3Cb%3EC:%5Cxampp%5Chtdocs%5CRustoleumCustomCMS%5Cadministrator%5Cinput_berita_static.php%3C/b%3E%20on%20line%20%3Cb%3E174%3C/b%3E%3Cbr%20/%3E Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If …

Member Avatar for davy_yg
0
245

The End.