Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: elgo
  • Order by date
  1. elgo

    Pass user name password in apache proxy

    I have setup a proxy server, I want to create a user name password for a backend application to authenticate, but I don't want the browser to prompt instead the proxy should read from a file where I store username password, and if both match it pass through to the backend application. I have...
  2. elgo

    Formating log file processing the file line by line.

    vgersh99, Now my script is working. But there is another problem. How to to ignore space within the line. When I take one line for processing it takes first part upto space one line and the relaining part as another line. How to overcome this problem. Your help is appreciated.
  3. elgo

    Formating log file processing the file line by line.

    vgersh99, Your solution is ok to just print the fields. But how to assign each field value to a variable. say get the field1 value of line one and apply to A, and field 2 value of line one to B and so on. I want to process one line at a time. Your solution will just print all the specified...
  4. elgo

    Formating log file processing the file line by line.

    Ok, Here is another example: I have the following in one line. All the line will have the same format of records. machinename:username:028579:companyname:0:1098066159:1098079781:1098079936:0:0:155:152:2:0.00000...
  5. elgo

    Formating log file processing the file line by line.

    mrn, Your first solution would print all the records in the specified field. I want to assign the value one record at a time and assign the value to a variable and then go to the next line. Basically it shoudl process line by line. vgersh99, I want to assign the valu to a variable. Your...
  6. elgo

    Formating log file processing the file line by line.

    man awk does not say anything about how to assign the values to variables.
  7. elgo

    Formating log file processing the file line by line.

    man awk does not say anything about how to assign each value in to a variable.
  8. elgo

    Formating log file processing the file line by line.

    I have a web server log file like this. 10.144.6.146 - - [20/Oct/2004:00:00:17 - 0700] "GET /images/grey_dot.gif HTTP/1.1" 304 - 304 - - - 451 120 572 1 20 0 I want to assign each field in to a variable and format the records and prepare a report in readable format. The log file has...
  9. elgo

    Content redirection in apache

    Still, I did not get answer to my question. I do not want to touch any of the content, not even a single file. I do not want to remove any file. I just want to redirect all the pages to index.html where I will replace the index.html page with maintenance page. I do not care about 404 errors.
  10. elgo

    Content redirection in apache

    SimonDavis, Well, New users can not see other index.html page. But If someone have already bookmarked with a specific URL they will be able to reach the page directly. I want to block that traffic also and redirect to index.html. You got me?
  11. elgo

    Content redirection in apache

    Ericbrunson, I am not talking about the error pages. I want to redirect all the valid pages to be redirected to a standard page, say maintenance page. Example: http://www.yourserver.com/products/products.html The above pages is valid, but I want to redirect to http://www.yourserver.com.
  12. elgo

    Content redirection in apache

    Hi guys, I have installed apache version 2.x, I want to redirect all the contents to be redirected to index.html. Even if some users have bookmarked some URL when they hit the page should be redirected to index.html. Basically I want to block the whole site with some splash page. Note: I do...
  13. elgo

    Configuring HTTP CONF file

    Hi I find this forum is really incredible. I have some problems with my Apache server version 2.x running on Unix. I want to all the URL path to a specific page say maintenance.html. I did this using ProxyPass / <maintenance.html> but it did not block other pages except the home page. Also...

Part and Inventory Search

Back
Top